Created
April 9, 2020 06:42
-
-
Save hockeyfrissa/674adcfe20b43600ce7a6a400eb11a6b to your computer and use it in GitHub Desktop.
Add redirect uri to Microsoft graph toolkit mgt-login
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Providers.globalProvider = new MsalProvider({ | |
clientId: '<Application client id>', | |
authority:"https://login.microsoftonline.com/<tenant>", | |
scopes:['api://<api uri>/<api scope>'], | |
options:{ | |
auth:{ | |
redirectUri:'<Your url to redirect to as specified in app registration Authentication Redirect URIs>', | |
navigateToLoginRequestUrl:<true/false> | |
} | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Msal2 is a little different. The redirectUri in particular doesn't fall under options and auth.