0

In my mobile application, I am using wso2is(wso2 identity server) for user authentication. But i am not getting, how my mobile application and wso2is will communicate to each other for user authentication. Can i get any specific document/small POC or example for communication between mobile application and wso2is ?

Community
  • 1
  • 1
Abhishek
  • 315
  • 5
  • 18

1 Answers1

0

it depends how the mobile application communicate, there are multiple options.

For the full backend authentication the mobile app could use e.g. OAuth 2.0 password profile . Effectively - posting the client_id, client_secret, username and password to the token endpoint and the IS server returns a JSON with an access token. With the access token the application could ask for user details.

For web authentication (it could be a full mobile app with a web component) the IS server offers

There's even an admin API server (a SOAP web service) to validate user credentials, but I don't think it is (or should be) used in this case.

Community
  • 1
  • 1
gusto2
  • 11,210
  • 2
  • 17
  • 36