Skip to content

Commit

Permalink
fix: pass access requests through PreAuthenticatedSignIn
Browse files Browse the repository at this point in the history
  • Loading branch information
espadolini committed Jan 26, 2022
1 parent 94fb8bd commit c759820
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lib/auth/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -1065,9 +1065,10 @@ func (a *Server) PreAuthenticatedSignIn(user string, identity tlsca.Identity) (t
return nil, trace.Wrap(err)
}
sess, err := a.NewWebSession(types.NewWebSessionRequest{
User: user,
Roles: roles,
Traits: traits,
User: user,
Roles: roles,
Traits: traits,
AccessRequests: identity.ActiveRequests,
})
if err != nil {
return nil, trace.Wrap(err)
Expand Down

0 comments on commit c759820

Please sign in to comment.