This repository has been archived on 2020-03-24. You can view files and clone it, but cannot push or open issues or pull requests.
quay/endpoints
Joseph Schorr 8aac3fd86e Add support for an external JWT-based authentication system
This authentication system hits two HTTP endpoints to check and verify the existence of users:

Existance endpoint:
GET http://endpoint/ with Authorization: Basic (username:) =>
    Returns 200 if the username/email exists, 4** otherwise

Verification endpoint:
GET http://endpoint/ with Authorization: Basic (username:password) =>
    Returns 200 and a signed JWT with the user's username and email address if the username+password validates, 4** otherwise with the body containing an optional error message

The JWT produced by the endpoint must be issued with an issuer matching that configured in the config.yaml, and the audience must be "quay.io/jwtauthn". The JWT is signed using a private key and then validated on the Quay.io side with the associated public key, found as "jwt-authn.cert" in the conf/stack directory.
2015-06-05 13:20:10 -04:00
..
api Add support for an external JWT-based authentication system 2015-06-05 13:20:10 -04:00
__init__.py Refactor the code into modules, it was getting unweildy. 2013-09-25 12:45:12 -04:00
bitbuckettrigger.py Work in progress: bitbucket support 2015-04-24 18:36:48 -04:00
building.py Get build preparation working for bitbucket and do a lot of code cleanup around this process across all the triggers. Note: tests are not yet updated. 2015-04-29 17:04:52 -04:00
common.py Fix OAuth 2 handler to support retrieving parameters from other places; various OAuth client (such as the Go library) send the values in the request body or even the Auth header 2015-05-18 12:38:39 -04:00
csrf.py Add ability to download system logs 2014-12-23 14:01:00 -05:00
decorated.py Add proper error handling when the config volume is mounted in a read-only state. 2015-04-02 18:54:09 -04:00
githubtrigger.py Work in progress: bitbucket support 2015-04-24 15:13:08 -04:00
gitlabtrigger.py Get basic support for GitLab working in the UI 2015-05-03 09:58:48 -07:00
index.py Fix tutorial 2015-05-13 14:55:39 -04:00
notificationevent.py Add trigger metadata (which includes the SHA) and the built image_id to the event data 2015-02-24 15:13:51 -05:00
notificationhelper.py Strip whitespace from ALL the things. 2014-11-24 16:07:38 -05:00
notificationmethod.py Change API calls that expect non-robots to explicitly filter 2015-05-26 17:47:33 -04:00
oauthlogin.py Merge branch 'master' into gitlab 2015-05-03 12:13:09 -04:00
realtime.py Add a try-catch around the realtime logs stuff 2015-02-17 19:18:56 -05:00
registry.py Propagate the grant user context to the signed grant to fix image sharing. 2015-02-23 15:07:38 -05:00
tags.py Fix the updated_tags information by storing it in the session 2014-10-22 14:14:56 -04:00
trackhelper.py trackhelper: add user-agent to analytics 2015-03-06 12:02:40 -05:00
trigger.py Fix bitbucket triggers when the branch tag filter removes all branches 2015-06-01 15:35:59 -04:00
verbs.py endpoints.verbs: 202 for unfinished aci sigs 2015-04-29 15:33:20 -04:00
web.py Remove unneeded mime type set; jsonify does this for us 2015-05-26 17:30:10 -04:00
webhooks.py Fix bugs with the custom git trigger and make error reporting better 2015-05-10 13:38:47 -04:00