Skip to content

Instantly share code, notes, and snippets.

@wireframe
Created October 28, 2011 20:40
Show Gist options
  • Save wireframe/1323486 to your computer and use it in GitHub Desktop.
Save wireframe/1323486 to your computer and use it in GitHub Desktop.
# config/application.rb
config.devise_oauth2_providable.access_token_expires_in = 1.second # 15.minute default
config.devise_oauth2_providable.refresh_token_expires_in = 1.minute # 1.month default
config.devise_oauth2_providable.authorization_token_expires_in = 5.seconds # 1.minute default
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment