Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Topic author was deleted
I've successfully added Azure authentication (very thankful for this new feature btw!). However I wonder how I can disable the default login.
As of now the users can choose to "Sign in with Active Directory" OR username and password. I wish to have Azure AD exclusively.
My startupconfig:
//ensure the default options are configured base.Configuration(app); string TenantID = "XXXX"; string ClientID = "YYYYYY"; app.ConfigureBackOfficeAzureActiveDirectoryAuth(TenantID,ClientID, "http://XXXXX/umbraco#/umbraco",new System.Guid(TenantID));
Hi viktor if you are just talking about disabling the local login fields whilst your active directory login appears as an external logn source i dont think you can. If you look at the source of the login screen see here https://github.com/umbraco/Umbraco-CMS/blob/dev-v7/src/Umbraco.Web.UI.Client/src/views/common/dialogs/login.html . the angular userservice is used to render the login screen and this view is used, which you can see contains static content for local login fields. See the userservice here https://github.com/umbraco/Umbraco-CMS/blob/dev-v7/src/Umbraco.Web.UI.Client/src/common/services/user.service.js
I'm just looking at doing something else in angular and coming across the use of interceptors. I just stumbled on this https://our.umbraco.org/forum/umbraco-7/developing-umbraco-7-packages/53697-Extending-Login-Screen which might give you the possibility of creating your own view without the local login form.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Topic author was deleted
7.3.4 - Disable default login when Azure AD is enabled
I've successfully added Azure authentication (very thankful for this new feature btw!). However I wonder how I can disable the default login.
As of now the users can choose to "Sign in with Active Directory" OR username and password. I wish to have Azure AD exclusively.
My startupconfig:
Hi viktor if you are just talking about disabling the local login fields whilst your active directory login appears as an external logn source i dont think you can. If you look at the source of the login screen see here https://github.com/umbraco/Umbraco-CMS/blob/dev-v7/src/Umbraco.Web.UI.Client/src/views/common/dialogs/login.html . the angular userservice is used to render the login screen and this view is used, which you can see contains static content for local login fields. See the userservice here https://github.com/umbraco/Umbraco-CMS/blob/dev-v7/src/Umbraco.Web.UI.Client/src/common/services/user.service.js
I'm just looking at doing something else in angular and coming across the use of interceptors. I just stumbled on this https://our.umbraco.org/forum/umbraco-7/developing-umbraco-7-packages/53697-Extending-Login-Screen which might give you the possibility of creating your own view without the local login form.
is working on a reply...