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
{{ message }}
This repository has been archived by the owner on Apr 3, 2018. It is now read-only.
dmathieu edited this page Apr 23, 2011
·
1 revision
For some applications, you might want to skip the authorize's confirmation process.
For example, if your API is the only way for your application to access your core models and database, your main application probably doesn't need confirmation.
Please be aware that this is not in the OAuth protocol and should be used rarely, if not only for your main app using the API.
Oauned::OAuthController will ignore the confirmation process if the no_confirmation attribute exists in the Application model and is set to true for the current object.
So in order to be able to skip the confirmation step, you need to add a no_confirmation attribute to this database.
create_table :applications, :force => true do |t|
[...]
t.boolean :no_confirmation, :default => false
end
And to set this attribute to true in the specific application that doesn't need confirmation.