Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
fix: oauth route checks (#10292)
boojack5a94ebad0fee
diff --git a/frontend/src/router/index.ts b/frontend/src/router/index.tsindex 47bd872399..3a23f29c91 100644--- a/frontend/src/router/index.ts+++ b/frontend/src/router/index.ts@@ -33,6 +33,8 @@ import {import authRoutes, {AUTH_2FA_SETUP_MODULE,AUTH_MFA_MODULE,+ AUTH_OAUTH_CALLBACK_MODULE,+ AUTH_OIDC_CALLBACK_MODULE,AUTH_PASSWORD_FORGOT_MODULE,AUTH_SIGNIN_MODULE,AUTH_SIGNUP_MODULE,@@ -101,7 +103,10 @@ router.beforeEach((to, from, next) => {// - Login via OAuth / OIDC// - Setup VCS provider// - Setup GitOps workflow in a project- if (to.name === "oauth-callback" || to.name === "oidc-callback") {+ if (+ to.name === AUTH_OAUTH_CALLBACK_MODULE ||+ to.name === AUTH_OIDC_CALLBACK_MODULE+ ) {next();return;}