Skip to content
This repository has been archived by the owner on Oct 19, 2022. It is now read-only.

ianisms/CSEOAuthFlows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CSEOAuthFlows

Demo app repo to demonstrate the different OAuth 2.0 flows as implemented by the Microsoft Identity Platform.

Common Setup

  1. Create an app registration
  2. Sign in to the Azure portal.
  3. If you have access to multiple tenants, use the Directory + subscription filter in the top menu to select the tenant in which you want to register an application.
  4. Search for and select Azure Active Directory.
  5. Under Manage, select App registrations > New registration.
  6. When the Register an application page appears, enter your application's registration information:
    1. Enter a Name for your application, for example AspNetCore-WebApp. Users of your app might see this name, and you can change it later.
    2. Choose the supported account types for your application. (See Supported account types.)
    3. For Redirect URI, enter http://localhost:3000/?implicit.
    4. Select Register.
  7. Click on Authentication and then add the following information:
    1. In the Web section, add https://jwt.ms as a Redirect URI.
    2. Click Add a platform.
      1. Click on Single-page application.
      2. For Redirect Uris enter http://localhost:3000
      3. Click Configure.
    3. In the Single-page application section, add http://localhost:3000/?msal as a Redirect URI.
    4. Under Implicit grant and hybrid flows, select Access Tokens and ID tokens.
    5. Click Save.
  8. Click on Certificates & secrets.
  9. Click on New client secret.
    1. Enter Default for description.
    2. Click Add.
    3. Be sure to save the generated value somewhere and make sure you do not check it into a repo 😉

Apps

About

No description, website, or topics provided.

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published