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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions