title: ASP.NET Core application deployed on Azure cannot logout(received 302) on one of the environments
body: <p>We have deployed the application on 3 environments: DEV, QA and UAT. On DEV and UAT everything is going well, but on QA the logout is not possible: it returns &quot;302 Found&quot; and redirect to the home page without logging it out.</p>
  <p>The environments have different databases. DEV and QA use the same Azure B2C.</p>
  <p>This is the result of the .well-known/openid-configuration (I've replaced the original url with localhost):</p>
  <p>{
  &quot;issuer&quot;:&quot;localhost/auth&quot;,
  &quot;jwks_uri&quot;:&quot;localhost/auth/.well-known/openid-configuration/jwks&quot;,
  &quot;authorization_endpoint&quot;:&quot;localhost/auth/connect/authorize&quot;,
  &quot;token_endpoint&quot;:&quot;localhost/auth/connect/token&quot;,
  &quot;userinfo_endpoint&quot;:&quot;localhost/auth/connect/userinfo&quot;,
  &quot;end_session_endpoint&quot;:&quot;localhost/auth/connect/endsession&quot;,
  &quot;check_session_iframe&quot;:&quot;localhost/auth/connect/checksession&quot;,
  &quot;revocation_endpoint&quot;:&quot;localhost/auth/connect/revocation&quot;,
  &quot;introspection_endpoint&quot;:&quot;localhost/auth/connect/introspect&quot;,
  &quot;device_authorization_endpoint&quot;:&quot;localhost/auth/connect/deviceauthorization&quot;,
  &quot;frontchannel_logout_supported&quot;:true,
  &quot;frontchannel_logout_session_supported&quot;:true,
  &quot;backchannel_logout_supported&quot;:true,
  &quot;backchannel_logout_session_supported&quot;:true,
  &quot;scopes_supported&quot;:[
  &quot;openid&quot;,
  &quot;profile&quot;,
  &quot;email&quot;,
  &quot;pws&quot;,
  &quot;djs&quot;,
  &quot;sep&quot;,
  &quot;offline_access&quot;
  ],
  &quot;claims_supported&quot;:[
  &quot;sub&quot;,
  &quot;updated_at&quot;,
  &quot;locale&quot;,
  &quot;zoneinfo&quot;,
  &quot;birthdate&quot;,
  &quot;gender&quot;,
  &quot;website&quot;,
  &quot;profile&quot;,
  &quot;preferred_username&quot;,
  &quot;nickname&quot;,
  &quot;middle_name&quot;,
  &quot;given_name&quot;,
  &quot;family_name&quot;,
  &quot;name&quot;,
  &quot;picture&quot;,
  &quot;email_verified&quot;,
  &quot;email&quot;,
  &quot;organizations&quot;,
  &quot;CouponCodes&quot;,
  &quot;nameid&quot;
  ],
  &quot;grant_types_supported&quot;:[
  &quot;authorization_code&quot;,
  &quot;client_credentials&quot;,
  &quot;refresh_token&quot;,
  &quot;implicit&quot;,
  &quot;password&quot;,
  &quot;urn:ietf:params:oauth:grant-type:device_code&quot;
  ],
  &quot;response_types_supported&quot;:[
  &quot;code&quot;,
  &quot;token&quot;,
  &quot;id_token&quot;,
  &quot;id_token token&quot;,
  &quot;code id_token&quot;,
  &quot;code token&quot;,
  &quot;code id_token token&quot;
  ],
  &quot;response_modes_supported&quot;:[
  &quot;form_post&quot;,
  &quot;query&quot;,
  &quot;fragment&quot;
  ],
  &quot;token_endpoint_auth_methods_supported&quot;:[
  &quot;client_secret_basic&quot;,
  &quot;client_secret_post&quot;
  ],
  &quot;subject_types_supported&quot;:[
  &quot;public&quot;
  ],
  &quot;id_token_signing_alg_values_supported&quot;:[
  &quot;RS256&quot;
  ],
  &quot;code_challenge_methods_supported&quot;:[
  &quot;plain&quot;,
  &quot;S256&quot;
  ],
  &quot;request_parameter_supported&quot;:true
  }</p>
  <p>Thank you for any suggestion about how to investigate this 302 response.</p>