mirror of
https://github.com/pomerium/pomerium.git
synced 2025-04-30 02:46:30 +02:00
fix
This commit is contained in:
parent
1d31e19dc4
commit
5263d26323
1 changed files with 1 additions and 1 deletions
|
@ -213,7 +213,7 @@ func (c *incomingIDPTokenSessionCreator) createSessionAccessToken(
|
||||||
}
|
}
|
||||||
|
|
||||||
u, err := c.getUser(ctx, s.GetUserId())
|
u, err := c.getUser(ctx, s.GetUserId())
|
||||||
if errors.Is(err, storage.ErrNotFound) {
|
if storage.IsNotFound(err) {
|
||||||
u = &user.User{Id: s.GetUserId()}
|
u = &user.User{Id: s.GetUserId()}
|
||||||
} else if err != nil {
|
} else if err != nil {
|
||||||
return nil, fmt.Errorf("error retrieving existing user: %w", err)
|
return nil, fmt.Errorf("error retrieving existing user: %w", err)
|
||||||
|
|
Loading…
Add table
Reference in a new issue