Skip to content

unicef/magicbox-aad-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published