chore: extend http client config for prod
This commit is contained in:
@@ -1,40 +1,40 @@
|
|||||||
### user profile minimum
|
### user profile minimum
|
||||||
GET https://myep-next.ddev.site/api/userinfo
|
GET {{base_url}}/api/userinfo
|
||||||
Accept: application/json
|
Accept: application/json
|
||||||
Authorization: Bearer {{$auth.token("oauth2_email")}}
|
Authorization: Bearer {{$auth.token("oauth2_email")}}
|
||||||
|
|
||||||
### user profile full
|
### user profile full
|
||||||
GET https://myep-next.ddev.site/api/userinfo
|
GET {{base_url}}/api/userinfo
|
||||||
Accept: application/json
|
Accept: application/json
|
||||||
Authorization: Bearer {{$auth.token("oauth2_profile")}}
|
Authorization: Bearer {{$auth.token("oauth2_profile")}}
|
||||||
|
|
||||||
### user crm attributes
|
### user crm attributes
|
||||||
GET https://myep-next.ddev.site/api/crm-attributes
|
GET {{base_url}}/api/crm-attributes
|
||||||
Accept: application/json
|
Accept: application/json
|
||||||
Authorization: Bearer {{$auth.token("oauth2_profile")}}
|
Authorization: Bearer {{$auth.token("oauth2_profile")}}
|
||||||
|
|
||||||
### API countries
|
### API countries
|
||||||
GET https://myep-next.ddev.site/api/countries
|
GET {{base_url}}/api/countries
|
||||||
Accept: application/json
|
Accept: application/json
|
||||||
Authorization: Bearer {{$auth.token("oauth2_api")}}
|
Authorization: Bearer {{$auth.token("oauth2_api")}}
|
||||||
|
|
||||||
### API hotels
|
### API hotels
|
||||||
GET https://myep-next.ddev.site/api/hotels
|
GET {{base_url}}/api/hotels
|
||||||
Accept: application/json
|
Accept: application/json
|
||||||
Authorization: Bearer {{$auth.token("oauth2_api")}}
|
Authorization: Bearer {{$auth.token("oauth2_api")}}
|
||||||
|
|
||||||
### API hotel
|
### API hotel
|
||||||
GET https://myep-next.ddev.site/api/hotels/198924
|
GET {{base_url}}/api/hotels/198924
|
||||||
Accept: application/json
|
Accept: application/json
|
||||||
Authorization: Bearer {{$auth.token("oauth2_api")}}
|
Authorization: Bearer {{$auth.token("oauth2_api")}}
|
||||||
|
|
||||||
### API pickups
|
### API pickups
|
||||||
GET https://myep-next.ddev.site/api/pickups
|
GET {{base_url}}/api/pickups
|
||||||
Accept: application/json
|
Accept: application/json
|
||||||
Authorization: Bearer {{$auth.token("oauth2_api")}}
|
Authorization: Bearer {{$auth.token("oauth2_api")}}
|
||||||
|
|
||||||
### API pickup
|
### API pickup
|
||||||
GET https://myep-next.ddev.site/api/pickups/1
|
GET {{base_url}}/api/pickups/1
|
||||||
Accept: application/json
|
Accept: application/json
|
||||||
Authorization: Bearer {{$auth.token("oauth2_api")}}
|
Authorization: Bearer {{$auth.token("oauth2_api")}}
|
||||||
|
|
||||||
|
|||||||
@@ -33,5 +33,40 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"prod": {
|
||||||
|
"Security": {
|
||||||
|
"Auth": {
|
||||||
|
"oauth2_email": {
|
||||||
|
"Type": "OAuth2",
|
||||||
|
"Grant Type": "Authorization Code",
|
||||||
|
"Client ID": "{{oauth2_client_id}}",
|
||||||
|
"Client Secret": "{{oauth2_client_secret}}",
|
||||||
|
"Auth URL": "https://myep.ep-reisen.de/authorize",
|
||||||
|
"Token URL": "https://myep.ep-reisen.de/token",
|
||||||
|
"Redirect URL": "https://myep-team.ep-reisen.de/auth/check",
|
||||||
|
"Scope": "email"
|
||||||
|
},
|
||||||
|
"oauth2_profile": {
|
||||||
|
"Type": "OAuth2",
|
||||||
|
"Grant Type": "Authorization Code",
|
||||||
|
"Client ID": "{{oauth2_client_id}}",
|
||||||
|
"Client Secret": "{{oauth2_client_secret}}",
|
||||||
|
"Auth URL": "https://myep.ep-reisen.de/authorize",
|
||||||
|
"Token URL": "https://myep.ep-reisen.de/token",
|
||||||
|
"Redirect URL": "https://myep-team.ep-reisen.de/auth/check",
|
||||||
|
"Scope": "email profile"
|
||||||
|
},
|
||||||
|
"oauth2_api": {
|
||||||
|
"Type": "OAuth2",
|
||||||
|
"Grant Type": "Client Credentials",
|
||||||
|
"Client ID": "{{oauth2_api_client_id}}",
|
||||||
|
"Client Secret": "{{oauth2_api_client_secret}}",
|
||||||
|
"Auth URL": "https://myep.ep-reisen.de/authorize",
|
||||||
|
"Token URL": "https://myep.ep-reisen.de/token",
|
||||||
|
"Scope": "api"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user