[Feature Request] Assign teams from OpenID Connect claims
It would be fantastic to optionally add users to teams based on provided claims (if they are available/configured).
Would you do that with a custom claim in the id token or by some logic based on the existing claims?
How would you specify the team users get added to?
It would probably be a custom claim. None of the standard OIDC claims are viable. If you had a "groups" claim (either string or array of strings) then it should add users to each of the corresponding teams or create the teams if they don't exist.
I'd recommend having an environment variable that configures which claim Vikunja looks for, as different IdPs will provide similar values but under different claim names.
This could be for either ID token or the user info endpoint.
Deleting a branch is permanent. It CANNOT be undone. Continue?