Coder Social home page Coder Social logo

10.11.1 breaks our SSO about directus HOT 8 CLOSED

keesvanbemmel avatar keesvanbemmel commented on June 26, 2024
10.11.1 breaks our SSO

from directus.

Comments (8)

keesvanbemmel avatar keesvanbemmel commented on June 26, 2024 1

So yeah, issue is resurfacing and I think I know where the problem lies:

After migrations we apply our own schema. When applying this schema the schema diff tells us that it will remove next_token from directus_sessions.

Now I know in the past, that these directus fields should be excluded from the diff alltogether? So definitely seems like a bug

from directus.

paescuj avatar paescuj commented on June 26, 2024

Did you run the migration 1 when updating to 10.11.1?

Footnotes

  1. https://docs.directus.io/self-hosted/upgrades-migrations.html#upgrading-updating-a-project

from directus.

keesvanbemmel avatar keesvanbemmel commented on June 26, 2024

Yes I did, happens through our CICD pipeline. This is the migration that got logged:
CleanShot 2024-05-27 at 11 48 34

from directus.

keesvanbemmel avatar keesvanbemmel commented on June 26, 2024

Ok, something weird happened. I looked at the migrations table and the Add Session Window was there. However the directus_sessions table didn't have a next_token column.

Reran the migration and not it works. No further action needed. Strange though.

from directus.

paescuj avatar paescuj commented on June 26, 2024

Good catch! Thanks @keesvanbemmel!

from directus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.