Skip to content
This repository was archived by the owner on Sep 18, 2020. It is now read-only.
This repository was archived by the owner on Sep 18, 2020. It is now read-only.

Sorcery? #43

@superacidjax

Description

@superacidjax

I'm struggling with properly configuring opro.rb for Sorcery.

I have the following:

config.login_method             { |controller, current_user| controller.login(current_user, bypass: true) }
  config.logout_method            { |controller, current_user| controller.logout(current_user) }
  config.authenticate_user_method { |controller| controller.authenticates_with_sorcery! }

But this throws an error when visiting .../oauth_client_apps/new:

undefined method `authenticates_with_sorcery!' for #Opro::Oauth::ClientAppController:0x007f894cb15ee0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions