|
|
|
@ -122,7 +122,7 @@ const auth_config = {
|
|
|
|
|
// Information about the endpoint flitter-auth will use to redeem
|
|
|
|
|
// the authorization_code token for a bearer token
|
|
|
|
|
source_token: {
|
|
|
|
|
endpoint: 'https://coreid.garrettmills.dev/auth/service/oauth2/redeem',
|
|
|
|
|
endpoint: env('AUTH_COREID_REDEEM_URL', 'https://coreid.garrettmills.dev/auth/service/oauth2/redeem'),
|
|
|
|
|
|
|
|
|
|
// Field name where the authorization_code token will be specified in the request
|
|
|
|
|
token_key: 'code',
|
|
|
|
@ -143,7 +143,7 @@ const auth_config = {
|
|
|
|
|
// Information about the endpoint flitter-auth will use to get
|
|
|
|
|
// user information after it retrieves a bearer token
|
|
|
|
|
user_data: {
|
|
|
|
|
endpoint: 'https://coreid.garrettmills.dev/api/v1/auth/users/me',
|
|
|
|
|
endpoint: env('AUTH_COREID_USER_URL', 'https://coreid.garrettmills.dev/api/v1/auth/users/me'),
|
|
|
|
|
method: 'get', // 'get' or 'post' only
|
|
|
|
|
|
|
|
|
|
// In the response data, what key is the user data in?
|
|
|
|
|