Issue description
Step 1 defines, among others, the following variables
Step 2 makes use of CLIENTID and CLIENTSECRET, without underscore _ characters in variable names. This is a bug.
Moreover, in step 2
- a
SECRET variable is defined, that is not used anywhere in the script. This is misleading.
curl command could be simplified. --data implies --request POST, and it also implies --header "Content-Type: application/x-www-form-urlencoded"
Feedback Type (Optional)
examples or samples
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/generative-ai/get-auth-token
Issue description
Step 1 defines, among others, the following variables
CLIENT_IDCLIENT_SECRETStep 2 makes use of
CLIENTIDandCLIENTSECRET, without underscore_characters in variable names. This is a bug.Moreover, in step 2
SECRETvariable is defined, that is not used anywhere in the script. This is misleading.curlcommand could be simplified.--dataimplies--request POST, and it also implies--header "Content-Type: application/x-www-form-urlencoded"Feedback Type (Optional)
examples or samples
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/generative-ai/get-auth-token