Closed
Description
Description
When a new user signs in/registers via OIDC, team mappings as declared in the authentation source don't take effect on the initial login. They do apply from the second login onward.
I would speculate that it's not a race issue since I can also repro it with email validation enabled.
Using OKTA as the idp.
Gitea Version
main branch
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
make watch
Database
PostgreSQL