Skip to content

Instantly share code, notes, and snippets.

@zoltanarvai
Created March 23, 2019 20:47
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 zoltanarvai/ac1ced97920ee49b75881c3bb6c8a295 to your computer and use it in GitHub Desktop.
Save zoltanarvai/ac1ced97920ee49b75881c3bb6c8a295 to your computer and use it in GitHub Desktop.
# Setup Guardian with Auth0
config :orders, Auth.Guardian,
allowed_algos: ["HS256"],
verify_module: Guardian.JWT,
issuer: "https://orders-sample.eu.auth0.com/",
verify_issuer: true,
secret_key: "qgXw5waJYQ8kd6LDFpqY4UuswJ4D0gGS"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment