|
|
@ -27,6 +27,7 @@ namespace Squidex.Config.Authentication |
|
|
if (!string.IsNullOrEmpty(tenantId)) |
|
|
if (!string.IsNullOrEmpty(tenantId)) |
|
|
{ |
|
|
{ |
|
|
var resource = "https://graph.microsoft.com"; |
|
|
var resource = "https://graph.microsoft.com"; |
|
|
|
|
|
|
|
|
options.AuthorizationEndpoint = $"https://login.microsoftonline.com/{tenantId}/oauth2/authorize?resource={resource}"; |
|
|
options.AuthorizationEndpoint = $"https://login.microsoftonline.com/{tenantId}/oauth2/authorize?resource={resource}"; |
|
|
options.TokenEndpoint = $"https://login.microsoftonline.com/{tenantId}/oauth2/token?resource={resource}"; |
|
|
options.TokenEndpoint = $"https://login.microsoftonline.com/{tenantId}/oauth2/token?resource={resource}"; |
|
|
} |
|
|
} |
|
|
|