SSO stopped working
-
upon boot it throws this error:
WARN: Missing driver definition for "openid" auth provider.I didn't change anything in my settings, something seems to have changed during an upgrade.
-
I changed the .env from OKTA to GOOGLE. Now the login process works but won't let me in and throws this error:
WARN: Invalid user credentialsand
GET /auth/login/google/callback?code=NzHUmE6u0fq4968yHI05fCP2HNKPboK4yeQPL3uwcBJ&state=GKMfkPqtFUG5VB0vrKOL1Cz4sKL0j4xcb3bPfZxqCXM&iss=https%3A%2F%2Fmy.tld.dm%2Fopenid 302 515ms GET /admin/login?reason=SERVICE_UNAVAILABLE 200 1ms -
- - ╰───────────────────────────────────────────────────╯ - │ https://github.com/directus/directus/releases │ - │ 1 version behind │ - │ 11.2.1 → 11.2.2 │ - │ │ - │ │ - │ │ at AuthenticationService.login (file:///app/code/node_modules/@directus/api/dist/services/authentication.js:81:19) DirectusError: Invalid user credentials. "code": "INVALID_CREDENTIALS", "message": "Invalid user credentials.", "name": "DirectusError", "stack": "status": 401 "type": "", err: { } at async file:///app/code/node_modules/@directus/api/dist/auth/drivers/openid.js:302:28 DirectusError: Invalid user credentials. "code": "INVALID_CREDENTIALS", "message": "Invalid user credentials.", "name": "DirectusError", "stack": "status": 401 "type": "", err: { } at AuthenticationService.login (file:///app/code/node_modules/@directus/api/dist/services/authentication.js:81:19) at async file:///app/code/node_modules/@directus/api/dist/auth/drivers/openid.js:302:28 "code": "INVALID_CREDENTIALS", "message": "Invalid user credentials.", "name": "DirectusError", "stack": "status": 401 "type": "", err: { } -
@andreasdueren yes, this was a regression in 8.1. https://git.cloudron.io/platform/box/-/commit/16fa3390252e29f1803a18990c7b104817fa4d9f is the fix
-
J joseph referenced this topic on
-
J joseph marked this topic as a question on
-
J joseph has marked this topic as solved on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login