Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Rails getting started example #1086

Closed
wants to merge 1 commit into from

Conversation

kevinodotnet
Copy link

I needed to apply these changes to get omniauth running successfully in my development environment.

  • The change from GET to POST was required simply because the developer strategy uses a POST method. Without the change I received an obvious No route matches [POST] "/auth/developer/callback" error.
  • Adding the call to protect_from_forgery is required to avoid a Can't verify CSRF token authenticity. error

I needed to apply these changes to get omniauth running successfully in my development environment.
@kevinodotnet kevinodotnet closed this by deleting the head repository May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant