Comments (4)
Here's a rails app in a single file that has a functioning omniauth install, the gem versions in the gemfile are out of date, but the code should be pretty much the same.
https://github.com/BobbyMcWho/omniauth_2_examples/blob/main/rails_app_with_csrf_gem.ru
from omniauth.
Have you followed every step in the readme?
It calls out that you need to create a session controller as well as have a way to manage your sessions. A lot of folks use Devise for the latter portion. I apologize that you've not been able to get it up and running, however I believe that everything that's needed to get a rails app working w/ devise is included in the Readme
from omniauth.
If you'd like to use devise, they have detailed instructions here
from omniauth.
Thank you so much for the reply. I was mixed up with versions 1.9 and 2.0 and the get/post differences between the two, and finally got past that. Working against a provider that does not allow localhost addresses for test has been another hurdle but we'll set up the domain and certificate. Thanks again!
from omniauth.
Related Issues (20)
- How to configure OmniAuth::AuthenticityTokenProtection for Hanami HOT 1
- Loading strategies from database HOT 1
- Feature Request: sign in with Ethereum HOT 3
- Omniauth failed to detect the url -> Authentication passthru HOT 1
- nil error in `callback_path` after omniauth 2 update HOT 8
- Programatically invoke an omniauth strategy HOT 3
- `Rack::Builder#to_app` is not designed to be called for every request. HOT 18
- CSRF in Rack for callbacks requests
- Compatibility issues with rack-protection 3.x HOT 5
- Add Bake test for devise
- SSO Attlassian -> Gitlab (new user) HOT 1
- Memory leak possible HOT 2
- Allow customization of the login form? HOT 2
- Issues with oauth2 and doorkeeper on callback phase (invalid_request Missing required parameter: client_id) HOT 5
- Request phase - ActionController::InvalidAuthenticityToken even after skip_before_action HOT 1
- why user_response_structure's image have no effect HOT 2
- Need to update rack configuration from 2.2.3 to 2.2.3.1 HOT 1
- rack's executable "rackup" conflicts with rackup HOT 4
- Authentication failure! undefined method 'headers' 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.