How to use OAuth in a native mobile app (iOS, Android, Windows Phone)

Please refer to the source examples provided in the Ubisecure Github repository:

https://github.com/ubisecure/OAuth-2.0-client-examples

Each example is rudimentary and allows the user to login and for the app to retreive user attriibutes and show them on the screen.

In each example, the authorization code grant flow is used.



Please use these examples as starting points only. Mobile platforms change rapidly. Please refer to operating system vendor for best practices and perform thorough security review before production use.

Any compatible library that can call an OpenID Connect authentication service can be used.