Skip to content

Commit

Permalink
fix: OIDC provider field in spec (#1809)
Browse files Browse the repository at this point in the history
  • Loading branch information
jld3103 committed Oct 8, 2021
1 parent 5f6d369 commit 11b25de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion selfservice/strategy/oidc/strategy_login.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ type SubmitSelfServiceLoginFlowWithOidcMethodBody struct {
// The provider to register with
//
// required: true
Provider string `json:"traits"`
Provider string `json:"provider"`

// The CSRF Token
CSRFToken string `json:"csrf_token"`
Expand Down
2 changes: 1 addition & 1 deletion selfservice/strategy/oidc/strategy_registration.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ type SubmitSelfServiceRegistrationFlowWithOidcMethodBody struct {
// The provider to register with
//
// required: true
Provider string `json:"traits"`
Provider string `json:"provider"`

// The CSRF Token
CSRFToken string `json:"csrf_token"`
Expand Down

0 comments on commit 11b25de

Please sign in to comment.