Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
80 lines (65 sloc) 2.64 KB
<?php
return array(
/*
|--------------------------------------------------------------------------
| Your auth0 domain
|--------------------------------------------------------------------------
| As set in the auth0 administration page
|
*/
'domain' => getenv('AUTH0_DOMAIN'),
/*
|--------------------------------------------------------------------------
| Your APP id
|--------------------------------------------------------------------------
| As set in the auth0 administration page
|
*/
'client_id' => getenv('AUTH0_CLIENT_ID'),
/*
|--------------------------------------------------------------------------
| Your APP secret
|--------------------------------------------------------------------------
| As set in the auth0 administration page
|
*/
'client_secret' => getenv('AUTH0_CLIENT_SECRET'),
/*
|--------------------------------------------------------------------------
| The redirect URI
|--------------------------------------------------------------------------
| Should be the same that the one configure in the route to handle the
| 'Auth0\Login\Auth0Controller@callback'
|
*/
'redirect_uri' => getenv('AUTH0_CALLBACK_URL'),
/*
|--------------------------------------------------------------------------
| Persistence Configuration
|--------------------------------------------------------------------------
| persist_user (Boolean) Optional. Indicates if you want to persist the user info, default true
| persist_access_token (Boolean) Optional. Indicates if you want to persist the access token, default false
| persist_id_token (Boolean) Optional. Indicates if you want to persist the id token, default false
|
*/
// 'persist_user' => true,
// 'persist_access_token' => false,
// 'persist_id_token' => false,
/*
|--------------------------------------------------------------------------
| The authorized token issuers
|--------------------------------------------------------------------------
| This is used to verify the decoded tokens when using RS256
|
*/
'authorized_issuers' => [ 'https://'.getenv('AUTH0_DOMAIN').'/' ],
/*
|--------------------------------------------------------------------------
| The api identifier
|--------------------------------------------------------------------------
| This is used to verify the decoded tokens when using RS256
|
*/
'api_identifier' => getenv('API_IDENTIFIER'),
'supported_algs' => ['RS256']
);
You can’t perform that action at this time.