Skip to content

Instantly share code, notes, and snippets.

@johnnytomcat
Created August 21, 2018 19:53
Show Gist options
  • Save johnnytomcat/93b1af89e29868e6ea9c8352f3558e85 to your computer and use it in GitHub Desktop.
Save johnnytomcat/93b1af89e29868e6ea9c8352f3558e85 to your computer and use it in GitHub Desktop.
config.jwt do |jwt|
jwt.secret = ENV['DEVISE_JWT_SECRET_KEY']
jwt.request_formats = {
user: [:json]
}
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment