Skip to content

Instantly share code, notes, and snippets.

@joshcanhelp
Last active January 29, 2019 23:32
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 joshcanhelp/174b9652758430fa48036c22079628a3 to your computer and use it in GitHub Desktop.
Save joshcanhelp/174b9652758430fa48036c22079628a3 to your computer and use it in GitHub Desktop.
Laravel config settings for Auth0 API authentication
<?php
// config/laravel-auth0.php
return [
// ...
// Your Auth0 domain as a URL with a trailing slash.
'authorized_issuers' => [ 'https://your-tenant.auth0.com/' ],
// The "Identifier" field for the API you created in Auth0.
'api_identifier' => 'https://quickstarts/api',
// This is the same as the API algorithm.
'supported_algs' => [ 'RS256' ],
// ...
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment