oops
This commit is contained in:
parent
8e605a4cc4
commit
76b36cf19a
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ func CreateTokenResponse(ctx context.Context, request IDTokenRequest, client Cli
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
// only implicit flow requires state to be returned.
|
// only implicit flow requires state to be returned.
|
||||||
if code != "" {
|
if code == "" {
|
||||||
state = authRequest.GetState()
|
state = authRequest.GetState()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue