Skip to content

Commit 2a9d404

Browse files
committed
error uri
1 parent 549316c commit 2a9d404

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/token.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ func doTokenRoundTrip(ctx context.Context, req *http.Request) (*Token, error) {
266266
}
267267
retrieveError.ErrorCode = vals.Get("error")
268268
retrieveError.ErrorDescription = vals.Get("error_description")
269-
retrieveError.ErrorCode = vals.Get("error")
269+
retrieveError.ErrorUri = vals.Get("error_uri")
270270
token = &Token{
271271
AccessToken: vals.Get("access_token"),
272272
TokenType: vals.Get("token_type"),

0 commit comments

Comments
 (0)