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
benyamin marx edited this page May 30, 2013
·
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 a trusted 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