-
Notifications
You must be signed in to change notification settings - Fork 4k
Use openid/AppAuth-Android library with the IdentityServer4 #479
Comments
AppAuth is not our library. It should work with IdentityServer4, but I haven't tried it myself yet. |
Working fine with GrantTypes.Code and required PKCE, but not working with the GrantTypes.Hybrid. |
OK - then they probably don't support hybrid. Thanks! |
That's OK. Thanks for the great framework. |
@madhuteja I'm also trying to use IS4 with an android app. Have you achieved it? It would be really helpful if you could pass the client definition you used for android app. How are you receiving tokens at client end ? via custom Uri scheme? What is the RedirectUri you defined in client definition? |
@neerajyadav try this client configuration in IdSvr4
How to implement in Android app? below link will help you. |
@madhuteja Doesn't it require |
@neerajyadav Ahhh!, I forgot it. It only requires |
@madhuteja I configured the client. When I pass @leastprivilege does code client without secret be treated as public client? Also why does passing identity scopes from authorization code client give |
you need to check the logs. |
For those who are looking to configure android client with IdentityServer4, here is how your client configuration should look like in IS.
Three main things you need to make sure, This client is working fine with Android - AppAuth library. Also while sending scopes from android client, you need to make sure to include I will publish a sample repo for android client and IS both, as soon as I get free time. |
I have made a simple using AppAuth-android with Identity Server 4 , check it here |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I'm developing an ASP.Net MVC application and an Android app for my client. Back end service will be an ASP.Net Core API service.
And I want to use IdentityServer4 for authentication and authorization for my apps. I managed to configure the IdentityServer4 for the ASP.Net client and it's working great with the HybridAndClientCredentials grant type. My Android app is native and developed in JAVA, so I can't use "IdentityModel.OidcClient" library. So I'm looking for the openid's library AppAuth-Android , but I couldn't find any help or samples on this.
So how can I authorize my Android client with the AppAuth-Android library?
Can any one help me on this?
Any help is greatly appreciated.
The text was updated successfully, but these errors were encountered: