Comments (3)
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.
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.
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)
- IdP initiated session fails to verify HOT 2
- Specifying callback_uri HOT 1
- Ruby in Rails – Redirect to Login HOT 1
- Unable to configure New Universal Login with prompt config HOT 2
- OmniAuth v2.0.0rc1 HOT 3
- How do I logout a user from my client app once his auth0 session has expired? HOT 3
- Scopes not being added to token? HOT 2
- Auth0 Login Button does nothing in Rails 7 unless Turbo is disabled HOT 2
- Redirect to login page from GET request HOT 4
- Rails.application.config_for(:auth0) returns nil HOT 1
- TypeError: incompatible marshal file format (can't be read) format version 4.8 required; 216.25 given HOT 11
- Authentication failure! Signature verification raised: JWT::VerificationError
- Upgraded to omniauth-auth0 3.1.0 but got errors HOT 2
- Improve JWTValidator to also validate access tokens HOT 3
- the auth object does not provides the permissions data and the aud is the client id instead of the audience HOT 1
- Returned Twitter nickname is not same as user's actual Twitter handle HOT 1
- undefined method `split' for nil:NilClass HOT 2
- Redirect to signup HOT 15
- Intermittent CSRF Detected HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from omniauth-auth0.