Skip to content

Commit 6dfd60b

Browse files
committed
Don't always insert the openid scope in upstream OAuth 2.0 requests
1 parent ad66524 commit 6dfd60b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

crates/oidc-client/src/requests/authorization_code.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,8 +255,6 @@ fn build_authorization_request(
255255
(None, None)
256256
};
257257

258-
scope.insert(OPENID);
259-
260258
let auth_request = FullAuthorizationRequest {
261259
inner: AuthorizationRequest {
262260
response_type: OAuthAuthorizationEndpointResponseType::Code.into(),

0 commit comments

Comments
 (0)