Question

Following this guide I have created asp.net mvc5 webapi portal with UseGoogleAuthentication enabled and trying to implement API usage by authenticated users only: https://db.tt/ncE1TlNi https://db.tt/8vRq1beS

Template generated by Visual Studio works fine and I can create accounts/authenticate but I didn't find any information on how should I implement same thing from the mobile client and call API as authenticated user (API intended for mobile authenticated users).

Thank you for any guides and suggests.

Was it helpful?

Solution

Read this article to understand OWIN security middleware. In mobile application you can retrieve access token from url fragment after authentication.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top