feat: assign users to teams via OIDC claims #1393

Merged
konrad merged 93 commits from viehlieb/api:950_reworked_assign_teams_via_oidc into main 2024-03-02 08:47:12 +00:00
Showing only changes of commit dbc4970716 - Show all commits

View File

@ -58,6 +58,11 @@ type Provider struct {
openIDProvider *oidc.Provider
Oauth2Config *oauth2.Config `json:"-"`
}
type TeamData struct {
TeamName string
viehlieb marked this conversation as resolved Outdated

Didn't you declare this already somewhere else?

Didn't you declare this already somewhere else?
OidcID string
Description string
}
type claims struct {
Email string `json:"email"`
Name string `json:"name"`