Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use OAuth2 Client Credentials Flow #79

Open
adammccartney opened this issue Apr 27, 2023 · 0 comments
Open

Use OAuth2 Client Credentials Flow #79

adammccartney opened this issue Apr 27, 2023 · 0 comments

Comments

@adammccartney
Copy link
Member

adammccartney commented Apr 27, 2023

Is your feature request related to a problem? Please describe.
It seems like the current authorization flow for grader service is based on parsing a token directly from the request headers.

Describe the solution you'd like
It would be great if we could ensure that we are implementing a version of the Client Credentials Flow.

Essentially it might boil down to:

  • create a client ID for grader service
  • establish a back-channel of communication between it and the authorization server (jupyter hub).

We'd probably also like to establish some basic facts about the user that has started the session and look up what their permission scopes are in a database table somewhere.

Describe alternatives you've considered
Authorization by fiat.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant