Skip to content

v7 configuration error #462

@ollym

Description

@ollym

We used to have this

# app/initializers/workos.rb
WorkOS.configure do |config|
  config.api_key = Rails.application.credentials.workos_key
  config.client_id = Rails.application.credentials.workos_client_id
end

After upgrading to v7 we started getting this error:

undefined method 'configure' for module WorkOS (NoMethodError)

Had to put require 'workos/configuration' at the top of the initializer which seems wrong.

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