Closed kronicker closed 3 years ago
This PR adds an option to allow signup for users logging in over OIDC that do not exist in the database.
Part of #632
To test you can play around with 2 new .env values added:
.env
OIDC_ALLOW_SIGNUP
OIDC_DEFAULT_ROLE
USER
N.B.: This PR is pointed to #689 which should be merged before. ☝️ Don't forget to change base branch after it's merged to develop.
develop
This PR adds an option to allow signup for users logging in over OIDC that do not exist in the database.
Part of #632
QA Note:
To test you can play around with 2 new
.env
values added:OIDC_ALLOW_SIGNUP
- determines is signup over OIDC enabledOIDC_DEFAULT_ROLE
- sets which role will users signed up over OIDC get. If left blank or set to the invalid role it will default toUSER
N.B.: This PR is pointed to #689 which should be merged before. ☝️ Don't forget to change base branch after it's merged to
develop
.