Skip to content

CSRF issue with Devise, Omniauth and Pipedrive #6

@rahulpat

Description

@rahulpat

Seeing an issue when trying to use omniauth-pipedrive with devise.

Here's my config in devise.rb:

                  Rails.application.secrets[:pipedrive_client_id],
                  Rails.application.secrets[:pipedrive_client_secret]

Error:

(pipedrive) Callback phase initiated.
(pipedrive) Authentication failure! csrf_detected: OmniAuth::Strategies::OAuth2::CallbackError, csrf_detected | CSRF detected

Config:

Rails 6.0
Ruby 2.5.2

Anyone faced the same issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions