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
  • 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 | 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 427 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
    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
      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
        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

          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
              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