Authorization for Social Login RRS feed

  • Question

  • When I register an user through .Net Identity I can set the user role (AspNetUsersRoles) and the authorization will work fine for the next time this user logins.

    However, how can I apply authorization for people who login as Google or Facebook (Social logins) ?
    After login should I also create an user under .Net Identity and this way set roles for it ?

    What's the best approach ?

    Thank you

    Tuesday, September 24, 2019 4:10 PM

All replies

  • Hi AGA Neto,

    Thank you for posting here.

    According to your description, your issue is more related to ASP.NET. Therefore, it will be more appropriate to ask your question in ASP.NET Forums

    The CLR Forum discuss and ask questions about .NET Framework Base Classes (BCL) such as Collections, I/O, Regigistry, Globalization, Reflection. Also discuss all the other Microsoft libraries that are built on or extend the .NET Framework, including Managed Extensibility Framework (MEF), Charting Controls, CardSpace, Windows Identity Foundation (WIF), Point of Sale (POS), Transactions.

    Thank you for your understanding.

    Best Regards,

    Xingyu Zhao

    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Wednesday, September 25, 2019 2:15 AM