Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 878 Bytes

File metadata and controls

17 lines (12 loc) · 878 Bytes

OAuth2 API

Snyk provides an OAuth2 API, primarily for use with Snyk Apps. It complies with RFC 6749.

Most endpoints are served from the Snyk API subdomain (for example, https://api.snyk.io), with the one exception being /oauth2/authorize which is served on the main app subdomain (for example, https://app.snyk.io).

{% openapi src="../.gitbook/assets/oauth-app-spec.yaml" path="/oauth2/authorize" method="get" %} oauth-app-spec.yaml {% endopenapi %}

{% openapi src="../.gitbook/assets/oauth-api-spec.yaml" path="/token" method="post" %} oauth-api-spec.yaml {% endopenapi %}

{% openapi src="../.gitbook/assets/oauth-api-spec.yaml" path="/revoke" method="post" %} oauth-api-spec.yaml {% endopenapi %}