- ABP Framework version: v4.3.X
- UI type: MVC
- DB provider: EF Core / MongoDB
- Tiered (MVC) or Identity Server Separated (Angular): yes
- Exception message and stack trace:
- Steps to reproduce the issue:
Hi, We are buiding our own Mobie Application and would like to have the Login page (not in Identity Server) with in App. We are able to add the additional Clients and configuration to generate the access_token by passing the respective parameters.
We are not sure what are the cookies or methods that need to be invoived in order to establish the session and redirect to out Web Layer Home page. If you can share some info that would be great.
10 Answer(s)
-
0
Hi,
I remember that native apps like android and ios apps don't have cookies, make a mobile login page to send a request to the token endpoint is a better way.
-
0
Hi,
I remember that native apps like android and ios apps don't have cookies, make a mobile login page to send a request to the token endpoint is a better way.
Hi @Liangshiwei, yes we are able to use the generate the token by calling token URL, but our main query is what is way to login into the application by passing generated token and avoid login challange during this process
-
0
Hi,
Do you mean how to configure IdentityServer in mobile app?
You can check this: https://stackoverflow.com/questions/57042378/xamarin-forms-identityserver-external-providers-facebook-google
-
0
Not Exactly, basically we need to validate AccessToken and create a user claimns and send the user to login page. If needed we may add new controller in our Web/Auth server as well.
-
0
hi
we need to validate AccessToken and create a user claimns and send the user to login page.
Can you explain it in detail? I don't understand very well.
The
Introspection Endpoint
can validate youraccess_token
. https://identityserver4.readthedocs.io/en/3.1.0/endpoints/introspection.html -
0
Hi @liangshiwei ,
Basically we are trying to implement finger print Login in our Mobile Application. Below are the steps that we are trying to implement the same.
- Store the Username & Password (encrypted) in our App Storage
- Allowing the user to login with Fingerprint
- Mobile App will send a request to generate access token " /connect/token " by passing the clientId, Client Secret, username & Password. we are getting the Generated Access Token
- Mobile App send the Access token to our WebSIte
- In Our WebApplication we would like to validate the passed token and create user claims to redirect the user to Home Page
Note: No much functionality/pages in our Mobile Application. Just redirecting to our website only.
Hope I provided the details needed.
-
0
hi
The Introspection Endpoint can be used to validate tokens. https://identityserver4.readthedocs.io/en/latest/endpoints/introspection.html
-
0
hi
The Introspection Endpoint can be used to validate tokens. https://identityserver4.readthedocs.io/en/latest/endpoints/introspection.html
Thanks, I will try and update you.
-
0
ok
-
0
This question has been automatically marked as stale because it has not had recent activity.