> For the complete documentation index, see [llms.txt](https://fusionauth.io/docs/llms.txt)

# OAuth2 API | FusionAuth Docs

This page details FusionAuth's OAuth2 endpoints. Learn about the Authorization Code grant, `Implicit` grant, and other OAuth2 grants.

# OAuth2 API

[Edit on GitHub](https://github.com/FusionAuth/fusionauth-site/blob/main/astro/src/content/docs/apis/oauth/index.mdx)

[View Markdown](https://fusionauth.io/docs/apis/oauth.md)

We provide these endpoints to support the following standards:

*   [OAuth 2.0 IETF RFC 6749](https://tools.ietf.org/html/rfc6749)
*   [OAuth 2.0 IETF RFC 8628](https://tools.ietf.org/html/rfc8628)
*   [JWK IETF RFC 7517](https://tools.ietf.org/html/rfc7517)
*   [OAuth 2.0 IETF RFC 7662](https://tools.ietf.org/html/rfc7662)
*   [OpenID Connect](http://openid.net/specs/openid-connect-core-1_0.html)

If present in a query string, request parameters must be URL encoded.

This page contains the OAuth2 endpoint and reference sections.

Use the following APIs to manage OAuth2 endpoints:

| Section | Method | Endpoint |
| --- | --- | --- |
| [Authorize](https://fusionauth.io/docs/apis/oauth/authorize.md) | `GET` | `/oauth2/authorize` |
| [Logout](https://fusionauth.io/docs/apis/oauth/logout.md) | `GET / POST` | `/oauth2/logout` |
| [Token](https://fusionauth.io/docs/apis/oauth/token.md) | `POST` | `/oauth2/token` |
| [Device](https://fusionauth.io/docs/apis/oauth/device.md) | `POST / GET` | `/oauth2/device_authorize`  
`/oauth2/device/user-code`  
`/oauth2/device/validate`  
`/oauth2/device/approve` |
| [Introspect](https://fusionauth.io/docs/apis/oauth/introspect.md) | `POST` | `/oauth2/introspect` |
| [UserInfo](https://fusionauth.io/docs/apis/oauth/userinfo.md) | `GET / POST` | `/oauth2/userinfo` |
| [JSON Web Key Set (JWKS)](https://fusionauth.io/docs/apis/oauth/jwks.md) | `GET` | `/.well-known/jwks.json` |
| [OpenID Configuration](https://fusionauth.io/docs/apis/oauth/openid-configuration.md) | `GET` | `/{tenantId}/.well-known/openid-configuration`  
`/.well-known/openid-configuration` |
| [OAuthError](https://fusionauth.io/docs/apis/oauth/oauth-error.md) | `Reference` | \- |
| [Client Secret](https://fusionauth.io/docs/apis/oauth/client-secret.md) | `Reference` | \- |