Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Login buttons disappear from admin/login when system is off #186

Open
uandco opened this issue Dec 14, 2022 · 1 comment
Open

Login buttons disappear from admin/login when system is off #186

uandco opened this issue Dec 14, 2022 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@uandco
Copy link

uandco commented Dec 14, 2022

Hi,

Even though enableCpLoginButtons is set to true in the config (and that works when the system if ON), they disappear if the system is OFF.

Imho they should still be there as users with Access the site when the system is off or Access the control panel when the system is offline might be using SSO only.

Currently, such users can't access the control panel or website at all during maintenance as they have no way to log in.

They would have to access the https://domain/sso/login/request/uuid?RelayState=https://domain/admin/dashboard SSO Login URL manually.

System info:
Craft Pro 4.3.5
SAML Service Provider 4.0.4

Thanks

@dsmrt dsmrt self-assigned this Dec 14, 2022
@dsmrt
Copy link
Contributor

dsmrt commented Dec 16, 2022

I agree. The reason why this is happening is due to this: #42

I spent some time trying to get to the bottom of this issue but had no luck. There seems to be some low level issue that is making offline mode skip over the routing that we've put in place.

However, you can still use the IdP login action url, ie /sso/login/request/<IdP-UID> (which is the same as the url suggested to overwrite the loginPath when configuring SAML for the frontend).

@dsmrt dsmrt added bug Something isn't working and removed investigating labels Dec 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants