Skip to content

Commit

Permalink
populate the missing credentials type
Browse files Browse the repository at this point in the history
  • Loading branch information
stas410 committed Nov 17, 2023
1 parent f6fde34 commit 7b5adbb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions selfservice/strategy/oidc/strategy_registration.go
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,8 @@ func (s *Strategy) registrationToLogin(w http.ResponseWriter, r *http.Request, r
return nil, err
}

lf.Active = s.ID()

err = s.d.SessionTokenExchangePersister().MoveToNewFlow(r.Context(), rf.ID, lf.ID)
if err != nil {
return nil, err
Expand Down

0 comments on commit 7b5adbb

Please sign in to comment.