makeporngreatagain.pro
yeahporn.top
hd xxx

Sign in a user in an ASP.NET Web App with OpenID Connect and the Microsoft identity platform endpoint

611
  1. Select the Cloud Shell button on the menu bar at the upper right in the Azure portal.
  2. FTP and local Git can deploy to an Azure web app by using a deployment user. Once you configure your deployment user, you can use it for all your Azure deployments. Your account-level deployment username and password are different from your Azure subscription credentials.
    To configure the deployment user, run the az webapp deployment user set command in Azure Cloud Shell. Replace <username> and <password> with a deployment user username and password.
    az webapp deployment user set --user-name <username> --password <password>
  3. Create a resource group
    az group create --name myResourceGroup --location "West Europe"
  4. Create an App Service plan
    az appservice plan create --name myAppServicePlan --resource-group myResourceGroup --sku FREE
  5. Create a web app, replace <app-name> with your app name
    az webapp create --resource-group myResourceGroup --plan myAppServicePlan --name <app-name> --deployment-local-git
  6. Get deployment user details from
  7. Get Web App URL
  8. Now navigate to Azure AD > App Registration > New Registration
  9. Now enter the App Name and Web App URL which we captured in step 6 and click Register
  10. Once the App registration is completed, make a note of your Application (client) ID
  11. Now under same page, go to Authenication option then select Token and access id check box to allow token exchange between our app and Azure AD
  12. Now open Cloud Shell once again and do a git clone of our openid sso app
    git clone https://github.com/webmagicinformatica/AzureADSSOSampleApp.git
  13. Change directory to following:
    cd /AzureADSSOSampleApp/AppModelv2-WebApp-OpenIDConnect-DotNet
  14. Here we need to edit web.config to update following information:
    1. Application (client) ID copied in step 10
    2. Azure Web App URL copied in step 7
      vi Web.config
    3. Edit clientID with Application (client) ID copied in step 10 & redirectURI with Azure Web App URL copied in step 7

      Save the change by click ESC followed by :wq!
  15. Now you need to deploy this code to Web App
    1. Add change to local git repo
      git add .
    2. Commit the changes
      git commit -m "ready to deploy"
    3. Add remote origin, you will need deployment user and URL copied in step 6
      git remote add azure <deploymentLocalGitUrl-from-create-step>
    4. Push the code
      git push azure master
  16. Now test the application
    1. First create a username in Azure AD, if you are not sure how to do it please refer this link
    2. Launch Azure Web App URL
    3. Enter Azure AD user you just create it’s username & password
    4. Once you successfully logged in you will see
Leave A Reply

Your email address will not be published.

baseofporn.com https://www.opoptube.com
Ads Blocker Image Powered by Code Help Pro

Ads Blocker Detected!!!

We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.