doorkeeper-gem/doorkeeper

How do I know if an application has been authorized by a resource owner?

danieldocki opened this issue · 1 comments

I'm listing applications for a specific resource_owner, is there any method to find out if the application was authorized by the resource_owner?

I thought this

def authorized_for_resource_owner?(resource_owner)
method could return this, but it always returns true

@danieldocki If you just want to list applications, you can try customising the view for the /oauth/authorized_applications page. It is created by default and lists the authorized applications for an authenticated resource_owner.