Do not send id_token_hint by default
This commit is contained in:
parent
9ff00c3f59
commit
4bbf7b0160
@ -46,14 +46,6 @@ func (c *Client) Login(w http.ResponseWriter, r *http.Request) {
|
||||
|
||||
authCodeOptions := []oauth2.AuthCodeOption{}
|
||||
|
||||
rawIDToken, _ := RawIDToken(w, r)
|
||||
if rawIDToken != "" {
|
||||
authCodeOptions = append(
|
||||
authCodeOptions,
|
||||
oauth2.SetAuthURLParam("id_token_hint", rawIDToken),
|
||||
)
|
||||
}
|
||||
|
||||
authCodeURL := c.oauth2.AuthCodeURL(
|
||||
state,
|
||||
authCodeOptions...,
|
||||
|
Loading…
Reference in New Issue
Block a user