Issue description
Hi, there is an issue with the environment variable usage as described in SAP AI Core documentation. The variables must be set correctly to ensure proper authentication.
CLIENT_ID & CLIENT_SECRET
the current one
AI_API_URL=<YOUR AI API URL>
AUTH_URL=<YOUR AUTH URL>
CLIENT_ID=<YOUR CLIENT ID>
CLIENT_SECRET=<YOUR CLIENT SECRET>
RESOURCE_GROUP=default
SECRET=`echo -n "$CLIENTID:$CLIENTSECRET" | base64 -i - `
TOKEN=`curl --request POST \
--url "$AUTH_URL/oauth/token" \
--header "Content-Type: application/x-www-form-urlencoded" \
--data "grant_type=client_credentials" \
--data "client_id=$CLIENTID" \
--data "client_secret=$CLIENTSECRET"'
the new correct one:
SECRET=`echo -n "$CLIENTID:$CLIENT_SECRET" | base64 -i - `
TOKEN=`curl --request POST \
--url "$AUTH_URL/oauth/token" \
--header "Content-Type: application/x-www-form-urlencoded" \
--data "grant_type=client_credentials" \
--data "client_id=$CLIENT_ID" \
--data "client_secret=$CLIENT_SECRET"'
Feedback Type (Optional)
None
Page Title on SAP Help Portal (prefilled)
Get an Auth Token
Page URL on SAP Help Portal (prefilled)
https://help.sap.com/docs/sap-ai-core/sap-ai-core-service-guide/get-auth-token-for-orchestration
Issue description
Hi, there is an issue with the environment variable usage as described in SAP AI Core documentation. The variables must be set correctly to ensure proper authentication.
CLIENT_ID&CLIENT_SECRETthe current one
the new correct one:
Feedback Type (Optional)
None
Page Title on SAP Help Portal (prefilled)
Get an Auth Token
Page URL on SAP Help Portal (prefilled)
https://help.sap.com/docs/sap-ai-core/sap-ai-core-service-guide/get-auth-token-for-orchestration