Add more environment configs for libflitter values
This commit is contained in:
parent
1646fbd2a0
commit
d3c1e383da
@ -122,7 +122,7 @@ const auth_config = {
|
|||||||
// Information about the endpoint flitter-auth will use to redeem
|
// Information about the endpoint flitter-auth will use to redeem
|
||||||
// the authorization_code token for a bearer token
|
// the authorization_code token for a bearer token
|
||||||
source_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
|
// Field name where the authorization_code token will be specified in the request
|
||||||
token_key: 'code',
|
token_key: 'code',
|
||||||
@ -143,7 +143,7 @@ const auth_config = {
|
|||||||
// Information about the endpoint flitter-auth will use to get
|
// Information about the endpoint flitter-auth will use to get
|
||||||
// user information after it retrieves a bearer token
|
// user information after it retrieves a bearer token
|
||||||
user_data: {
|
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
|
method: 'get', // 'get' or 'post' only
|
||||||
|
|
||||||
// In the response data, what key is the user data in?
|
// In the response data, what key is the user data in?
|
||||||
|
@ -20,7 +20,11 @@ const server_config = {
|
|||||||
* The logging level. Usually, 1-4.
|
* The logging level. Usually, 1-4.
|
||||||
* The higher the level, the more information is logged.
|
* The higher the level, the more information is logged.
|
||||||
*/
|
*/
|
||||||
level: env("LOGGING_LEVEL", 1)
|
level: env("LOGGING_LEVEL", 1),
|
||||||
|
|
||||||
|
api_logging: env('LOG_API_RESPONSES', false),
|
||||||
|
|
||||||
|
error_logging: env('LOG_REQUEST_ERRORS', true),
|
||||||
},
|
},
|
||||||
|
|
||||||
session: {
|
session: {
|
||||||
|
Loading…
Reference in New Issue
Block a user