-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Description
Hey,
My App needs to support authentication of both User and Operator model (we use two different Devise scopes).
It would be great if we could add a resource_owner_type field to Doorkeeper::AccessToken for supporting a polymorphic association.
Owner type could be passed as an optional argument on the POST /oauth/token?owner_type=operator request if multiple owner type are supported.
It could be related to #461, but I would gladly fire up a new PR for that.
Thoughts?
PS: Thanks for this awesome gems ❤️!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels