piby
July 14, 2020, 5:36pm
1
Hey!
I am trying to setup cognito with Jupyterhub helm chart but so far no luck. Here is my setup:
opened 09:49PM - 14 Mar 19 UTC
closed 05:11PM - 11 Apr 19 UTC
/question.
Does JupyterHub OAuthenticator work with Amazon Cognito User Pool?
Here is my setup on cognito
I can see the button for cognito
but on clicking it, I am redirected to
Any tips for me would be highly appreciated!
Hi!
I did managed to get JupyterHub Helm Chart work together with AWS Cognito. I am a bit unsure why I didn’t work for you. Can you send all URL that you browser requested from Cognito, e.g., via Chrome’s Developer Tools? I suspect that the OAuth flows and/or OAuth scopes are insufficient.
piby
July 15, 2020, 6:39am
3
https://<cognito-domain>.auth.eu-central-1.amazoncognito.com/oauth2/authorize?response_type=code&redirect_uri=https%3A%2F%2F<cluster-domain>%2Fjupyterhub%2Fhub%2Foauth_callback&client_id=<client-id>&state=eyJzdGF0ZV9pZCI6ICJjYWMzYzVhOWEOTQ0ZDM4YTYxOGNhYTA3M2E1MmRhYiIsICJuZXh0X3VybCI6ICIifQ%3D%3D
piby
July 15, 2020, 4:40pm
4
I finally made it work. The issue was with my cognito setup. I had to allow Authorization code grant in my cognito app cleint settings.