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
matthewford edited this page Dec 4, 2012
·
4 revisions
Under some circumstances you might want to have applications auto-approved, so that the user skips the authorization step (for example if dealing with trusted a application).
This is possible via a configuration option skip_authorization which takes either true or false:
skip_authorization do
true
end
or
skip_authorization do |resource_owner, client|
client.superapp? || resource_owner.admin?
end