Merge pull request #4737 from Yetangitu/explicit_oidc_autolaunch

Explicitly launch OpenID Connect authentication with ?autoLaunch=1
This commit is contained in:
advplyr
2025-10-09 17:08:51 -05:00
committed by GitHub

View File

@@ -299,8 +299,8 @@ export default {
}
if (authMethods.includes('openid')) {
// Auto redirect unless query string ?autoLaunch=0
if (this.authFormData?.authOpenIDAutoLaunch && this.$route.query?.autoLaunch !== '0') {
// Auto redirect unless query string ?autoLaunch=0 OR when explicity requested through ?autoLaunch=1
if ((this.authFormData?.authOpenIDAutoLaunch && this.$route.query?.autoLaunch !== '0') || this.$route.query?.autoLaunch == '1') {
window.location.href = this.openidAuthUri
}