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

SSO: Auth0 integration #355

Draft
wants to merge 4 commits into
base: develop
Choose a base branch
from
Draft

SSO: Auth0 integration #355

wants to merge 4 commits into from

Conversation

ababic
Copy link
Contributor

@ababic ababic commented May 27, 2022

Adds basic integration with Auth0, allowing users from the connected Auth0 tenant to authenticate using the Auth0 login page.

If the user HASN'T authenticated with the app before, successful authentication results in the creation of a basic Django user with an unusable password* and no special privileges. This user then becomes the active user for the remainder of the app session.

If the user HAS authenticated with the app before, successful authentication results in the existing Django user being found (via a linked IDPProfile object with a matching provider_user_id value), and becoming the active user for the remainder of the app session

* Setting an 'unusable password' in Django prevents the user from logging in via Django's regular email/password mechanisms, and also prevents them from initialising a password reset from Django - meaning they can only authenticate via Auth0.

@ababic ababic marked this pull request as draft May 27, 2022 12:43
@ababic ababic force-pushed the auth0-integration branch 2 times, most recently from 32b8c10 to 86c70ce Compare May 27, 2022 13:08
@ababic ababic force-pushed the auth0-integration branch 4 times, most recently from 3951e2b to 828b5d8 Compare June 6, 2022 10:39
@ababic ababic changed the title SSO: Auth0 integration DRAFT: SSO: Auth0 integration Jun 21, 2022
@ababic ababic force-pushed the auth0-integration branch 8 times, most recently from 32e9410 to 5b62fd0 Compare July 1, 2022 09:49
@ababic ababic changed the title DRAFT: SSO: Auth0 integration SSO: Auth0 integration Jul 1, 2022
@ababic ababic marked this pull request as ready for review July 1, 2022 10:11
@jamesbiggs jamesbiggs marked this pull request as draft August 7, 2023 17:46
@ahosgood ahosgood added the chore Improvements or additions to the codebase without a JIRA ticket label Nov 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Improvements or additions to the codebase without a JIRA ticket
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants