jupyterhub / the-littlest-jupyterhub

Simple JupyterHub distribution for 1-100 users on a single server
https://tljh.jupyter.org
BSD 3-Clause "New" or "Revised" License
1.03k stars 339 forks source link

docs(awscognito): add custom claims example #854

Closed nodomain closed 1 year ago

nodomain commented 1 year ago

After struggling with my custom department claim and getting helped in https://discourse.jupyter.org/t/genericauthenticator-with-cognito-how-to-check-for-department-match/18105/1 I wanted to give back to the community.

welcome[bot] commented 1 year ago

Thanks for submitting your first pull request! You are awesome! :hugs:
If you haven't done so already, check out Jupyter's Code of Conduct. Also, please make sure you followed the pull request template, as this will help us review your contribution more quickly. welcome You can meet the other Jovyans by joining our Discourse forum. There is also a intro thread there where you can stop by and say Hi! :wave:
Welcome to the Jupyter community! :tada:

consideRatio commented 1 year ago

@nodomain sorry for not being able to review and get this merged quicker! We have used .rst based documentation in the past, but transitioned to markdown now (MyST markdown) via #863.

Are you willing to update this PR with changes to the markdown file instead? Ping me and I'll get this merged quickly if you do!

alldoami commented 3 months ago

@nodomain Thanks for writing this up! I'm having trouble with a problem before accessing the claims... I am using Cognito and hooking up Okta to it but am unable to get the groups claim attached to it when it gets passed back to Cognito. How do you add custom claims like the one you have this documentation?