-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Orchard Core intermittently displays login options when only one external provider is configured #17219
Comments
Thank you for submitting your first issue, awesome! 🚀 We're thrilled to receive your input. If you haven't completed the template yet, please take a moment to do so. This ensures that we fully understand your feature request or bug report. On what happens next, see the docs. If you like Orchard Core, please star our repo and join our community channels. |
We triaged this issue and set the milestone according to the priority we think is appropriate (see the docs on how we triage and prioritize issues). This indicates when the core team may start working on it. However, if you'd like to contribute, we'd warmly welcome you to do that anytime. See our guide on contributions here. |
It would be nice if we give the first-time authors to start 1st PR in OC |
Yes that would be super awesome! But, the author should show interest into providing a fix first :) |
I am still encountering this issue in version 2.1.3. While I noticed that the update added code to the LoggedInAsync event, I am reproducing this error without logging in. Scenario:
Workaround: |
You don't want to remove that key every time as it could cause an infinite loop for your users. I think we need to change how we store that key to something that will be removed on the next request. |
Describe the bug
When using Orchard Core with a single external identity provider configured for login and the option "Use external provider for login" enabled in the admin settings, the login screen intermittently displays a choice between the external provider and the standard username/password login. It is expected that the system should automatically redirect to the external provider for authentication without showing the login screen.
Orchard Core version
2.1.2
To Reproduce
https://localhost:5001/admin
).Expected behavior
The login screen should consistently redirect to the external provider for authentication without presenting the choice between username/password login and the external provider.
Actual behavior
The behavior is inconsistent and alternates between the following:
For example:
https://localhost:5001/admin
works and redirects.Logs and screenshots
Settings Configuration:
Login Screen:
Steps to Mitigate/Workaround
No workaround identified.
Suggested Fix
Update the logic in the login flow to ensure consistent behavior when the "Use external provider for login" option is enabled, particularly when only one external provider is configured. The system should always redirect to the external provider without showing the login screen.
References
N/A
The text was updated successfully, but these errors were encountered: