chore: extend http client config for prod

This commit is contained in:
Björn Fromme
2025-04-24 20:47:33 +02:00
parent 110a4137d6
commit fbfe215c3d
2 changed files with 43 additions and 8 deletions
+8 -8
View File
@@ -1,40 +1,40 @@
### user profile minimum
GET https://myep-next.ddev.site/api/userinfo
GET {{base_url}}/api/userinfo
Accept: application/json
Authorization: Bearer {{$auth.token("oauth2_email")}}
### user profile full
GET https://myep-next.ddev.site/api/userinfo
GET {{base_url}}/api/userinfo
Accept: application/json
Authorization: Bearer {{$auth.token("oauth2_profile")}}
### user crm attributes
GET https://myep-next.ddev.site/api/crm-attributes
GET {{base_url}}/api/crm-attributes
Accept: application/json
Authorization: Bearer {{$auth.token("oauth2_profile")}}
### API countries
GET https://myep-next.ddev.site/api/countries
GET {{base_url}}/api/countries
Accept: application/json
Authorization: Bearer {{$auth.token("oauth2_api")}}
### API hotels
GET https://myep-next.ddev.site/api/hotels
GET {{base_url}}/api/hotels
Accept: application/json
Authorization: Bearer {{$auth.token("oauth2_api")}}
### API hotel
GET https://myep-next.ddev.site/api/hotels/198924
GET {{base_url}}/api/hotels/198924
Accept: application/json
Authorization: Bearer {{$auth.token("oauth2_api")}}
### API pickups
GET https://myep-next.ddev.site/api/pickups
GET {{base_url}}/api/pickups
Accept: application/json
Authorization: Bearer {{$auth.token("oauth2_api")}}
### API pickup
GET https://myep-next.ddev.site/api/pickups/1
GET {{base_url}}/api/pickups/1
Accept: application/json
Authorization: Bearer {{$auth.token("oauth2_api")}}
+35
View File
@@ -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"
}
}
}
}
}