You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Edit: even if I don't use authenticate_user on a controller ActiveRecord::RecordNotFound (Couldn't find User without an ID) is thrown when using client_credentials. The only way around it is to remove :doorkeeper from the devise config in the User model.
The text was updated successfully, but these errors were encountered:
When authenticating using client_credentials flow
resource_owner_id
isnil
. This results in the following exception.https://github.com/betterup/devise-doorkeeper/blob/master/lib/devise/strategies/doorkeeper.rb#L48
Edit: even if I don't use
authenticate_user
on a controllerActiveRecord::RecordNotFound (Couldn't find User without an ID)
is thrown when using client_credentials. The only way around it is to remove:doorkeeper
from the devise config in the User model.The text was updated successfully, but these errors were encountered: