Mando
Mando

Reputation: 11712

How to authenticate mobile client against asp.net webapi portal with UseGoogleAuthentication enabled?

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.

Upvotes: 1

Views: 756

Answers (1)

user3257812
user3257812

Reputation: 96

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

Upvotes: 1

Related Questions