paws
paws copied to clipboard
oauth2 tinkering
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?