Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Directus
  3. SSO stopped working

SSO stopped working

Scheduled Pinned Locked Moved Solved Directus
6 Posts 3 Posters 1.5k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • andreasduerenA Offline
    andreasduerenA Offline
    andreasdueren
    App Dev
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    1
    • andreasduerenA Offline
      andreasduerenA Offline
      andreasdueren
      App Dev
      wrote on last edited by andreasdueren
      #2

      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 credentials

      and

      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
      
      1 Reply Last reply
      0
      • andreasduerenA Offline
        andreasduerenA Offline
        andreasdueren
        App Dev
        wrote on last edited by
        #3
         -
         - ╰───────────────────────────────────────────────────╯
         - │ 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: {
        }
        
        1 Reply Last reply
        0
        • M Offline
          M Offline
          msbt
          App Dev
          wrote on last edited by
          #4

          https://forum.cloudron.io/topic/12817/oidc-login-broken-with-8-1-0-update/7?_=1732142838325

          Happy Hosting & Web Development

          1 Reply Last reply
          2
          • J Offline
            J Offline
            joseph
            Staff
            wrote on last edited by
            #5

            @andreasdueren yes, this was a regression in 8.1. https://git.cloudron.io/platform/box/-/commit/16fa3390252e29f1803a18990c7b104817fa4d9f is the fix

            1 Reply Last reply
            1
            • J joseph referenced this topic on
            • J Offline
              J Offline
              joseph
              Staff
              wrote on last edited by
              #6

              https://forum.cloudron.io/topic/12817/oidc-login-broken-with-8-1-0-update/8 has info on how to apply the fix

              1 Reply Last reply
              0
              • 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
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Bookmarks
              • Search