LoginAsync fails after update to 3.1.2
See original GitHub issueHopefully this is the right place for this!
We have just updated from 2.9.0
to 3.1.2
, and the login now fails. Looking into the identityServer logs we are seeing the following
Invalid grant type for client: "authorization_code"
We have changed nothing on either the client (iOS), or on IdentityServer4.
I’ve compared the 2.9.0
-> 3.1.2
tags on git, but can’t see anything obvious that might be causing this. https://github.com/IdentityModel/IdentityModel.OidcClient/compare/97055bd...de3c5ee
Info
IdentityServer4 version: 2.2.0
Updated OidcClient version: 3.1.2
Oidc Flow: Hybrid on iOS
Request Content
This is the content that idSrv receives when making the login request
{
"ClientId": "iOS",
"ClientName": "iOS App",
"RedirectUri": "com.<OMITTED>://auth",
"AllowedRedirectUris": [
"com.<OMITTED>://auth"
],
"SubjectId": "anonymous",
"ResponseType": "code",
"ResponseMode": "query",
"GrantType": "authorization_code",
"RequestedScopes": "",
"State": "4c8cHL5TGl8XETmaw92a",
"Raw": {
"response_type": "code",
"nonce": "i82GNeiwertgfdwe34rGIg",
"state": "4c8cHL52345TGl8XEmbTp",
"code_challenge": "EB7LmP9r4Td_uihPAXwqoAN1wZAx",
"code_challenge_method": "S256",
"client_id": "iOS",
"scope": "openid profile api offline_access",
"redirect_uri": "com.<OMITTED>://auth"
}
}
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
OidcClient throwing Unauthorized error after upgrade from ...
In my application, we are using OidcClient to connect with Google account. It was working fine with version 3.1.2. After upgrading to 5.0.2, ......
Read more >FactSet Broadcast DataFeed API Java Programmer's Manual
If applications want to use a non-blocking call, the authenticateAsync(), connectAsync(), and. loginAsync() functions are available. Repeated ...
Read more >Problem with setting up Realm Sync of Local and Cloud ...
LoginAsync (credentials, authUrl) , I want to see these changes that were made while offline(not connected to Realm Cloud, because there was no ......
Read more >Identity and Authentication Management in SAP Business ...
SAP Business One unified user authentication. • Microsoft Windows domain account authentication. • OpenID Connect (OIDC).
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
That’s correct.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue.