Code Monkey home page Code Monkey logo

Comments (3)

davidpatrick avatar davidpatrick commented on June 8, 2024

Thanks @shepmaster for raising, we can add an example to https://github.com/auth0/omniauth-auth0#examples to cover using with Turbo. Happy to review a PR if you would like to submit one.

from omniauth-auth0.

davidpatrick avatar davidpatrick commented on June 8, 2024

Looked into this and Turbolinks was disabled by default on POST requests turbolinks/turbolinks-classic#352 (comment) https://www.rubydoc.info/gems/turbolinks/2.5.3

The successor of that library, Turbo, has decided not to take this approach. However seeing as Turbo, which is still in beta (according to their readme) is a much more intentional opt-in than the bundled with rails Turbolinks, it should be well documented and covered in the Turbo documentation.

from omniauth-auth0.

fredoliveira avatar fredoliveira commented on June 8, 2024

This is quite relevant these days and should probably be reconsidered. A new rails 7 project, with default parameters, will include turbo by default. This means the examples from the Auth0 documentation won't work.

The solution can be one of two things:

  • Disable turbo for this specific link, like mentioned in the original issue description
  • Disable turbo globally, which means commenting out turbo in the application pack

The first is the one I'd recommend, if you folks do end up changing the documentation.

from omniauth-auth0.

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.