Home > @vsf-enterprise/sapcc-api > MiddlewareOAuthConfig
MiddlewareOAuthConfig interface
Settings for requests sent to authorization server.
Signature:
export interface MiddlewareOAuthConfig
Properties
Property | Type | Description |
---|---|---|
clientId | string | Client Id of OAuth Client. |
clientSecret | string | Client Secret of OAuth Client. |
cookieOptions? | MiddlewareCookieOptions | (Optional) Object allowing to overwrite options of auth cookies (e.g. vsf-sap-token customer token cookie). |
tokenEndpoint | string | Endpoint for retrieving and refreshing customer/application tokens (e.g. /oauth/token ). |
tokenRevokeEndpoint | string | Endpoint for revoking customers tokens (e.g. /oauth/revoke ). |
uri | string | Full OAuth server uri (e.g. https://<your-sap-api>/authorizationserver/ ). |