mirror of
https://github.com/davidallendj/opaal.git
synced 2025-12-20 03:27:02 -07:00
Fixed issue with scope not being added to token
This commit is contained in:
parent
6b2218efbd
commit
fddcc8d6af
3 changed files with 9 additions and 4 deletions
|
|
@ -122,7 +122,7 @@ func (s *Server) Login(buttons string, provider *oidc.IdentityProvider, client *
|
|||
http.Redirect(w, r, "/error", http.StatusBadRequest)
|
||||
return
|
||||
}
|
||||
_, err := client.PerformRefreshTokenGrant(provider.Endpoints.Token, refreshToken)
|
||||
_, err := params.JwtBearerParams.Client.PerformRefreshTokenGrant(provider.Endpoints.Token, refreshToken)
|
||||
if err != nil {
|
||||
fmt.Printf("failed to perform refresh token grant: %v\n", err)
|
||||
http.Redirect(w, r, "/error", http.StatusInternalServerError)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue