spelling: requested
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
This commit is contained in:
parent
c79b40ad56
commit
8476e5acc0
@ -435,7 +435,7 @@ func makeOAuth2Tests(clientID string, clientSecret string, now func() time.Time)
|
|||||||
v.Add("client_secret", clientSecret)
|
v.Add("client_secret", clientSecret)
|
||||||
v.Add("grant_type", "refresh_token")
|
v.Add("grant_type", "refresh_token")
|
||||||
v.Add("refresh_token", token.RefreshToken)
|
v.Add("refresh_token", token.RefreshToken)
|
||||||
// Request a scope that wasn't requestd initially.
|
// Request a scope that wasn't requested initially.
|
||||||
v.Add("scope", "oidc email profile")
|
v.Add("scope", "oidc email profile")
|
||||||
resp, err := http.PostForm(p.Endpoint().TokenURL, v)
|
resp, err := http.PostForm(p.Endpoint().TokenURL, v)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Reference in New Issue
Block a user