dimanche 10 mai 2015

Access more scope Google Authentication with ASP.NET Identity at runtime

I have a MVC5 project that using ASP.NET Identity and external login with Google.

At first, i just need user to login by his Google account. Later when using some function in system, i may need permission to access his YouTube account. At that time, i will need to expand the scope (not only login). User will be re-direct to a google page and allow more scope for my app.

I have read this topic. But it looks like i have to clarify all scope when application start.

So is there anyway i can expand scope of Google Authentication with ASP.net Identity when it demand?

Aucun commentaire:

Enregistrer un commentaire