@ -1,5 +1,11 @@
# Changelog
## 4.0.3 - 2019-11-18
### Features
* **Login**: Support for Microsoft TenantId. Thanks to [mhilgersom](https://github.com/mhilgersom)
## 4.0.2 - 2019-11-18
### Bugfixes
@ -27,6 +27,7 @@ namespace Squidex.Config.Authentication
if (!string.IsNullOrEmpty(tenantId))
{
var resource = "https://graph.microsoft.com";
options.AuthorizationEndpoint = $"https://login.microsoftonline.com/{tenantId}/oauth2/authorize?resource={resource}";
options.TokenEndpoint = $"https://login.microsoftonline.com/{tenantId}/oauth2/token?resource={resource}";
}