Using GraphQL API endpoints to obtain OAuth2 credentials
The following endpoints require user authentication. Please include your session token in x-ory-kratos-session header of the request. You can find this token by inspecting the cookie of your network requests to Lemonade backend API.
for staging environment, the name of the cookie is: ory_kratos_session_staging
for production environment, the name of the cookie is: ory_kratos_session
Important note: Please include the client_secret field in the response and take note of it because this is the only time we display it to you. Further requests to retrieve the client info will not return this value.
To retrieve OAuth2 credentials
If you want to retrieve a specified OAuth2 client, supply its id in the optional ids params. Omit this param to obtain all the OAuth2 clients that are belong to you.
To update OAuth2 credentials
For possible update fields, please refer to our GraphQL API introspection playground.
To remove OAuth2 credentials
OAuth2 client default settings
The following properties are prefilled with any OAuth2 clients and cannot be updated: