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

oauth2 tinkering #284

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

oauth2 tinkering #284

wants to merge 4 commits into from

Conversation

vivian-rook
Copy link
Collaborator

using:
https://oauthenticator.readthedocs.io/en/latest/reference/api/gen/oauthenticator.auth0.html
https://www.mediawiki.org/wiki/Extension:OAuth
https://meta.wikimedia.org/wiki/Special:ListGrants

minikube gets as far as some new errors (kubectl logs deployment.apps/hub)

[I 2023-05-17 20:47:53.664 JupyterHub log:186] 302 GET /hub/oauth_login?next=%2Fhub%2F -> https://meta.wikimedia.org/w/rest.php/oauth2/authorize?response_type=code&redirect_uri=http%3A%2F%2Fhub.paws.local%2Fhub%2Foauth_callback&client_id=b4736b99b3b0c7c0831572529d7ea6f8&state=[secret]&scope=highvolume+editpage+createeditmovepage+patrol+uploadfile+uploadeditmovefile+rollback+viewmywatchlist+editmywatchlist (@192.168.49.1) 1.14ms
[E 2023-05-17 20:47:56.750 JupyterHub oauth2:386] Error fetching 400 POST https://meta.wikimedia.org/w/rest.php/oauth2/access_token: {
     "error": "invalid_request",
     "error_description": "The request is missing a required parameter, includes an invalid parameter value, includes a parameter more than once, or is otherwise malformed.",
     "hint": "Check the `grant_type` parameter",
     "message": "The request is missing a required parameter, includes an invalid parameter value, includes a parameter more than once, or is otherwise malformed."

Anyone have any thoughts on if the request is malformed or perhaps something else is afoot?

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

Successfully merging this pull request may close these issues.

1 participant