Skip to content

[Bug] OAuth 2 client_credentials breaks Shield. #56

@hskrasek

Description

@hskrasek

I have discovered that if you authenticate via OAuth using the client_credentials flow instead of the password flow, Shield basically explodes because it tries to do something like User::findOrFail('oauth_client_id'), which if you're using the Dingo\Controllers, means bad business.

Not sure if this is intended or not, but thought I would bring it to your attention.

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