Azure

How To Safe Your Azure App Service With Fb Authentication

These days, enabling safe authentication on any app isn’t that sophisticated, as we’ve sufficient automated options.

After getting logged in, go to My Apps part within the prime nav and choose “Create App” as under

Step 6

 

From left navigation go to settings, and search for “Legitimate OAuth Redirect URIs” fill within the worth as under and click on Save Adjustments

 

https://<YourAzureAppServiceName>.azurewebsites.internet/.auth/login/fb/callback

 

Substitute the time period “<YourAzureAppServiceName>” as your azure app service title.

 

 

Step 7

 

Now, go to normal Settings->Fundamental space the place you may configure the essential app data like appName, Privateness coverage URL, Time period Service URL, App Emblem. This data will likely be seen when consumer tries to login to your software.

 

Click on “Present” button in App Secret and duplicate the key key of your app. Don’t share this key with anybody.

 

Make a remark of this App ID and App Secret, you have to this to configure in Azure App.

 

How To Secure Your Azure App Service With Facebook Authentication

 

Step 8

 

The account which you used to create this app is the administrator of this app. Solely this consumer can entry the Azure app now, if you wish to permit your group, go to Roles within the left navigation and grant permission to your group primarily based on the position.

 

How To Secure Your Azure App Service With Facebook Authentication

 

Step 9

 

As soon as you’re achieved with the event, you could make this app dwell to permit public customers to entry your app. It may be achieved by turning off “In Growth” mode.

 

How To Secure Your Azure App Service With Facebook Authentication

 

Configuring Fb Authentication in Azure App Service

 

Step 1

 

Login to Azure Portal, with sufficient permission to entry the app service.

 

Step 2

 

Click on on any of the app service software on which you want to allow Fb authentication.

 

Step 3

 

Within the upcoming properties pane search for Authentication/Authorization possibility like under. By default, Authentication is disabled, allow it utilizing the toggler such as you see within the under screenshot.

 

How To Secure Your Azure App Service With Facebook Authentication

 

Step 4

 

Within the upcoming display choose “Fb” because the authentication kind. Enter the App ID and App Secret you obtained from Fb developer account and configure the scopes wanted by your software and click on OK button.

 

How To Secure Your Azure App Service With Facebook Authentication

 

Step 5

 

Now, in authentication display select “Motion to take when request isn’t authenticated” as “Log in with Fb” and click on Save.

 

How To Secure Your Azure App Service With Facebook Authentication

 

Step 6

 

Now we’re all set with the Fb authentication, browse your software within the browser and you’ll be prompted to enter your Fb credentials. As soon as your Fb credentials are validated you’ll get under display with the app data you configured within the developer account.

 

How To Secure Your Azure App Service With Facebook Authentication

 

Click on “Proceed”, which can take you to your precise Azure App Service software.

 

I hope this text lets you allow Fb authentication on an Azure App Service. You probably have any questions/points about this text, please let me know within the feedback.

Show More

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button