Web app Social authenitication in Azure

Vivek Kumar 1 Reputation point
2022-01-05T06:59:06.553+00:00

Hello

I like to use the authentication feature provided by azure web apps.
However, I like the visitor to the main page and authenticating themself, once they visit the customized page.

I use Java-Spring and redirect all the unauthenticated users to the login page. From there, a user should go to Facebook, Google, or Twitter.

However when i redirect user to /.auth/login/Facebook. the browser gets redirected back to the login page.

Can some point me to some sample or mistake that I am making?

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,635 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.