Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
public
src
.env.sample
.gitignore
README.md
package.json
yarn.lock

README.md

react-azure-ad-demo

DEMO: http://react-ad.aquibm.com/

How to get started:

  1. Copy .env.sample and rename to .env.local
  2. Create Azure Active Directory
  3. Register a new App under Azure Active Directory
  4. Navigate to App and Click on Manifest, set oauth2ImplicitFlow to true, Add your apps reply URL to the list of reply URL's in the manifest.
  5. Add user to Azure Active Directory
  6. Add the user to the App in Azure Active Directory
  7. Navigate to App in Azure Active Directory, select 'Permissions' and click on 'Grant Permissions". (This will grant the selected users permission to the App).
  8. Navigate to App in Azure Active Directory and Click on Manifest, Copy the 'IdentifiedUrl', paste it into the REACT_APP_AUTH_TENANT field in the .env.local file of your solution. Remember to remove the "http://" part from the value.
  9. Copy the ApplicationId of the App in Azure Active Directory and paste it into the REACT_APP_AUTH_CLIENT_ID value in the .env.local file of your solution.

Your .env.local should look something like this: alt text

Done!