You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior
I try to upgrade from Microsoft.AspNetCore.Authentication.AzureAd.UI to Microsoft.Identity.Web.
I reuse the app registration, which works fine with an Authorization Code Flow.
I expect that the app successfully logs in the user using Auth Code Flow.
Actual behavior
When trying to log in, I get the following error:
OpenIdConnectProtocolException: Message contains error: 'unsupported_response_type', error_description: 'AADSTS700054: response_type 'id_token' is not enabled for the application.
I don't really understand the error message. Is it trying to perform an implicit flow?
With the older package, the initial redirect to https://login.microsoftonline.com contains the query &response_type=code; with Microsoft.Identity.Web it contains response_type=code%20id_token; why is it doing that?
The text was updated successfully, but these errors were encountered:
@calbert82uhah : MSAL.NET does not support PKCE in confidential client applications yet (as CCA already share a secret with Azure AD, the AuthCode flow in confidential client is already very secure).
We have a feature request, though, to have Microsoft.Identity.Web and MSAL.NET support it in the future:#470
ASP.NET core does not try to do an implicit flow (we don't request you to check the Implicit Access token in the portal). The ID Token is required by MSAL.NET for the token cache
jmprieur
changed the title
[Bug]
[Bug] Error when attempting to use PCKE
Sep 17, 2020
Which version of Microsoft Identity Web are you using?
0.4.0-preview
Where is the issue?
Is this a new or an existing app?
a. The app is in production and I have upgraded to a new version of Microsoft Identity Web.
Repro
Expected behavior
I try to upgrade from Microsoft.AspNetCore.Authentication.AzureAd.UI to Microsoft.Identity.Web.
I reuse the app registration, which works fine with an Authorization Code Flow.
I expect that the app successfully logs in the user using Auth Code Flow.
Actual behavior
When trying to log in, I get the following error:
OpenIdConnectProtocolException: Message contains error: 'unsupported_response_type', error_description: 'AADSTS700054: response_type 'id_token' is not enabled for the application.
I don't really understand the error message. Is it trying to perform an implicit flow?
With the older package, the initial redirect to
https://login.microsoftonline.com
contains the query&response_type=code
; with Microsoft.Identity.Web it containsresponse_type=code%20id_token
; why is it doing that?The text was updated successfully, but these errors were encountered: