Skip to content

Instantly share code, notes, and snippets.

@javierg
Last active December 22, 2016 21:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save javierg/f24769afbd1690e211928d149919bea0 to your computer and use it in GitHub Desktop.
Save javierg/f24769afbd1690e211928d149919bea0 to your computer and use it in GitHub Desktop.
config :guardian, Guardian,
allowed_algos: ["HS512"],
verify_module: Guardian.JWT,
issuer: "Metamorfo",
ttl: { 30, :days },
verify_issuer: true,
secret_key: <<188, 78, 156, 202, 219, 17, 166, 68, 84, 206, 109, 204, 103, 136, 108,
222>>,
serializer: GuardianSerializer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment