-
Notifications
You must be signed in to change notification settings - Fork 23
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
Implement support for Auth0 both in API and normal login #3125
Commits on Feb 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for fd1d543 - Browse repository at this point
Copy the full SHA fd1d543View commit details -
Configuration menu - View commit details
-
Copy full SHA for 92b9ec2 - Browse repository at this point
Copy the full SHA 92b9ec2View commit details -
Support login with Auth0 in normal OW4
Design is a TODO, and now a _lot_ of stuff should be removed
Configuration menu - View commit details
-
Copy full SHA for b59063e - Browse repository at this point
Copy the full SHA b59063eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ba6393 - Browse repository at this point
Copy the full SHA 5ba6393View commit details -
Configuration menu - View commit details
-
Copy full SHA for ce5f0a5 - Browse repository at this point
Copy the full SHA ce5f0a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2295ada - Browse repository at this point
Copy the full SHA 2295adaView commit details -
Configuration menu - View commit details
-
Copy full SHA for b5e8570 - Browse repository at this point
Copy the full SHA b5e8570View commit details -
Only exposed a single endpoint to make an invite-link to the slack workspace, but has been failing for who knows how long. Just remove it, essentially unused.
Configuration menu - View commit details
-
Copy full SHA for 6e2a146 - Browse repository at this point
Copy the full SHA 6e2a146View commit details -
This was intended to be used as a new source-of-truth or something for the lists in Google Workspace. The sync was never implemented. We do not want more data sync. Remove it.
Configuration menu - View commit details
-
Copy full SHA for f2467b8 - Browse repository at this point
Copy the full SHA f2467b8View commit details -
Remove references to .primary_email
It is the _same_ as `.email`, and with the change to Auth0 we will only have one email on the accounts.
Configuration menu - View commit details
-
Copy full SHA for b630df7 - Browse repository at this point
Copy the full SHA b630df7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e5606f - Browse repository at this point
Copy the full SHA 8e5606fView commit details -
Stop server multiple emails over the API
For some reason we had both `/profile/emails` and `/user/emails`, which appear to just duplicate functionality, while the `/user`-one allowed us to change it? Either way: we can already directly modify `.email` through e.g. UserUpdateViewSet, so no need to make a new endpoint.
Configuration menu - View commit details
-
Copy full SHA for a293478 - Browse repository at this point
Copy the full SHA a293478View commit details -
The email-sending appears to not actually result in emails being sent? This should maybe have some more error-handling?
Configuration menu - View commit details
-
Copy full SHA for fa2c380 - Browse repository at this point
Copy the full SHA fa2c380View commit details -
Configuration menu - View commit details
-
Copy full SHA for 858e051 - Browse repository at this point
Copy the full SHA 858e051View commit details -
Configuration menu - View commit details
-
Copy full SHA for 89ebe8b - Browse repository at this point
Copy the full SHA 89ebe8bView commit details -
Default BASE_URL to one that is usabel locally
This is mostly relevant if you get directed after logout with Auth0
Configuration menu - View commit details
-
Copy full SHA for ba1ea32 - Browse repository at this point
Copy the full SHA ba1ea32View commit details -
Configuration menu - View commit details
-
Copy full SHA for 02a19d3 - Browse repository at this point
Copy the full SHA 02a19d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c66a5f - Browse repository at this point
Copy the full SHA 4c66a5fView commit details -
Modify mozzila-auth for our uses
- Support creating a user with info from /userinfo - Including from API-call by chaning DRF-auth to mozilla - Username is a variant of the email, note that this might lead to usernames that were previously invalid. - Verify that access_token-audience is for us - Do not call /userinfo on _every_ request, since we can find the user from `sub`, but use it if we need to create a new user - Update email if it has diverged when we have already gotten an id_token (aka login directly to OW4)
Configuration menu - View commit details
-
Copy full SHA for 65a7bc5 - Browse repository at this point
Copy the full SHA 65a7bc5View commit details