File tree Expand file tree Collapse file tree
v-api/src/endpoints/login/oauth/remote Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -62,9 +62,8 @@ impl GoogleOAuthProvider {
6262 revocation_endpoint : Some ( "https://oauth2.googleapis.com/revoke" . to_string ( ) ) ,
6363 } ,
6464 } ) ;
65- let authz_code_pkce_flow_info = config
66- . proxy_web
67- . and_then ( |proxy| authz_code_flow_info. as_ref ( ) . map ( |web| ( web, proxy) ) )
65+ let authz_code_pkce_flow_info = authz_code_flow_info. as_ref ( ) . zip ( config
66+ . proxy_web )
6867 . map ( |( web, proxy) | OAuthProviderAuthorizationCodePkceInfo {
6968 client_id : proxy. client_id ,
7069 redirect_endpoint : proxy. redirect_uri ,
Original file line number Diff line number Diff line change @@ -60,9 +60,8 @@ impl ZendeskOAuthProvider {
6060 revocation_endpoint : None ,
6161 } ,
6262 } ) ;
63- let authz_code_pkce_flow_info = config
64- . proxy_web
65- . and_then ( |proxy| authz_code_flow_info. as_ref ( ) . map ( |web| ( web, proxy) ) )
63+ let authz_code_pkce_flow_info = authz_code_flow_info. as_ref ( ) . zip ( config
64+ . proxy_web )
6665 . map ( |( web, proxy) | OAuthProviderAuthorizationCodePkceInfo {
6766 client_id : proxy. client_id ,
6867 redirect_endpoint : proxy. redirect_uri ,
You can’t perform that action at this time.
0 commit comments