Fix OIDC infinite loop if user is not in OIDC_USER_GROUP (#3487)

This commit is contained in:
Carter 2024-04-18 19:17:45 -05:00 committed by GitHub
commit c6f5b62ad0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 44 additions and 17 deletions

View file

@ -201,7 +201,7 @@ export default defineComponent({
}
function isDirectLogin() {
return router.currentRoute.query.direct
return Object.keys(router.currentRoute.query).includes("direct")
}
async function oidcAuthenticate() {