Skip to content

STI & devise scope. #57

@azraai

Description

@azraai

Right now I'm having a problem logging in with STI models. My app has 3 different model namely User, Staff, and Admin. User is the base model. Every model has different scope to access.

Currently, only User is able to sign in using CAS. The other is having problem after logging in at the CAS server. For Admin & Staff models the app return Invalid Email & Password error after signing in from the CAS server.

I believe this has something to do with the file lib/devise_cas_authenticatable/strategy.rb. I just can't figure out where is the problem really is.

Anyone has clues or leads on this problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions