You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Uri.EscapeDataString(azureADOptions.ClientId),// The application Id as obtained from the Azure Portal
87
90
Uri.EscapeDataString(currentUri+"Onboarding/ProcessCode"),// Uri that the admin will be redirected to after the consent
88
91
Uri.EscapeDataString(stateMarker),// The state parameter is used to validate the response, preventing a man-in-the-middle attack, and it will also be used to identify this request in the ProcessCode action.
89
-
Uri.EscapeDataString("https://graph.microsoft.com/.default"));// The scopes to be presented to the admin to consent. Here we are using the static scope '/.default' (https://docs.microsoft.com/azure/active-directory/develop/v2-permissions-and-consent#the-default-scope).
92
+
Uri.EscapeDataString(configuration.GetValue<string>("GraphAPI:StaticScope")));// The scopes to be presented to the admin to consent. Here we are using the static scope '/.default' (https://docs.microsoft.com/azure/active-directory/develop/v2-permissions-and-consent#the-default-scope).
0 commit comments