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

[BUG] When OIDC enabled and user account doesn't exist, the account doesn't get created #2477

Closed
yunylz opened this issue Apr 22, 2024 · 1 comment
Assignees

Comments

@yunylz
Copy link

yunylz commented Apr 22, 2024

Title says it, after it gives the error "User has not been created yet, please contact your workspace owner."

@marcelfolaron
Copy link
Contributor

You can set OIDC to create users automatically using

#Create User if it doesn't exist in Leantime db, otherwise fail login
LEAN_OIDC_CREATE_USER = true
# Default role for users created via OIDC (20 is editor)
LEAN_OIDC_DEFAULT_ROLE = 20

@marcelfolaron marcelfolaron self-assigned this Apr 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants