Login and registration with VSHN Account #5
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: servala/servala-portal#5
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Stories
As a user, I want to log in using my VSHN Account via OpenID Connect so that I can access the portal securely
As a user, I want to be automatically registered in the portal when I first log in with my VSHN Account so that I can start using the portal immediately
Implementation Notes
Login with VSHN Accountto Login and registration with VSHN Account@tobru TODO: Figure out how to work in local dev env. Do we need a local Keycloak? Can we use the VSHN Test Keycloak?
Wo do work with the VSHN Test Keycloak for now, this is the intended allauth configuration:
For
SOCIALACCOUNT_ONLY
we probably still need to be able to log in to Django admin with a local account for now.And for making the allauth themes look good, we could use https://github.com/harrelchris/django-allauth-themes (maybe just vendor the templates to not rely on the dependency)
Related docs:
As discussed, we set
SOCIALACCOUNT_ONLY = False
for now as the Django admin also uses allauth.