Skip to content

[doc issue] Access token retrieval script is wrong #89

Description

@s02VtRMv3HuNZ

Issue description

Step 1 defines, among others, the following variables

  • CLIENT_ID
  • CLIENT_SECRET

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

Metadata

Metadata

Assignees

Labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions