Create a login page with more identity providers using authentication service.

Masaniello 65 Reputation points
2023-01-21T17:58:31.53+00:00

I'm using Azure Web App.
I configured every indenty providers I want for my app.
I would like to protect the whole application with authentication but I would like to provide a page where I can show all the identity providers and select the one you prefer.
What can i do?

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,962 questions
0 comments No comments
{count} votes

Accepted answer
  1. Sreeju Nair 11,621 Reputation points
    2023-01-22T06:13:42.3666667+00:00

    You need to create a login page and enable anonymous access to the page, and on this page, you can display different identity providers. For ASP.Net Core, you can specify Login Path or Access Denied Path, both these pages will have anonymous access.

    Refer:

    https://learn.microsoft.com/en-us/aspnet/core/security/authentication/identity?view=aspnetcore-7.0&tabs=visual-studio

    If you are using any other programming framework supported by Azure App Service, you may need to refer how this can be done in those frameworks.

    Also, I recommend you refer to the following tutorial to get a better understanding.

    https://learn.microsoft.com/en-us/azure/app-service/scenario-secure-app-authentication-app-service

    Hope this helps

    Refer:

    2 people found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful