Skip to content

ActionController::RoutingError (No route matches [GET] "/auth/hubspot"): #4

Description

@la-ruby

I feel like the README needs an update

I had trouble hitting the very first route (/auth/hubspot) after following the README.
im working on a rails 7 application.

Comparing the README of a more popular gem, I saw they have a OmniAuth.config.allowed_request_methods = %i[get]

I think thats what helps to get through this initial error:

Started GET "/auth/hubspot" for ::1 at 2022-08-10 07:46:51 -0700
  ActiveRecord::SchemaMigration Pluck (104.4ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

ActionController::RoutingError (No route matches [GET] "/auth/hubspot"):

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