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
new QueryParameter("redirect_uri", HttpContext.Current.Server.UrlEncode(CallbackUri.ToString())),
new QueryParameter("state", HttpContext.Current.Server.UrlEncode(new State(){
PortalId= Settings.PortalID,
Culture= PortalSettings.Current.CultureCode
}.ToString())),
new QueryParameter("response_type","code"),
new QueryParameter("response_mode","query"),
However, according to the microsoft docs for the v1 endpoint, scope is ignored, and you should instead use resource. Without the resource on the v1 endpoint, you are going to get the default graph JWT tokens, not the ones defined in the app manifest.
The text was updated successfully, but these errors were encountered:
It appears that the app is using the v1.0 endpoint for the implicit grant:
dnn.azureadprovider/DotNetNuke.Authentication.Azure/Components/AzureClient.cs
Lines 61 to 72 in de81718
When building the query params,
scope
is defined:dnn.azureadprovider/DotNetNuke.Authentication.Azure/Components/AzureClient.cs
Lines 613 to 621 in de81718
However, according to the microsoft docs for the v1 endpoint,
scope
is ignored, and you should instead useresource
. Without the resource on the v1 endpoint, you are going to get the default graph JWT tokens, not the ones defined in the app manifest.The text was updated successfully, but these errors were encountered: