Skip to content

Commit

Permalink
Propagate email claim to downstream resources (#376)
Browse files Browse the repository at this point in the history
  • Loading branch information
sbryzak authored Sep 12, 2023
1 parent 3e6d4ed commit 4ae0201
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions api/v1alpha1/usersignup_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -212,9 +212,6 @@ type IdentityClaimsEmbedded struct {
// PreferredUsername contains the user's username
PreferredUsername string `json:"preferredUsername"`

// Email contains the user's email address
Email string `json:"email"`

// GivenName contains the value of the 'given_name' claim
// +optional
GivenName string `json:"givenName,omitempty"`
Expand Down Expand Up @@ -244,6 +241,9 @@ type PropagatedClaims struct {
// a new IdP provider client, and contains the user's "original-sub" claim
// +optional
OriginalSub string `json:"originalSub,omitempty"`

// Email contains the user's email address
Email string `json:"email"`
}

// UserSignupStatus defines the observed state of UserSignup
Expand Down
10 changes: 5 additions & 5 deletions api/v1alpha1/zz_generated.openapi.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4ae0201

Please sign in to comment.