info:To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/engineering/ux/technical-writing/#designated-technical-writers
info:To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/engineering/ux/technical-writing/#designated-technical-writers
---
---
# GitLab as an OAuth 2.0 provider **(FREE)**
# OAuth 2.0 identity provider API **(FREE)**
This document covers using the [OAuth2](https://oauth.net/2/) protocol to allow
GitLab provides an API to allow third-party services to access GitLab resources on a user's behalf
other services to access GitLab resources on user's behalf.
with the [OAuth2](https://oauth.net/2/) protocol.
If you want GitLab to be an OAuth authentication service provider to sign into
To configure GitLab for this, see
other services, see the [OAuth2 authentication service provider](../integration/oauth_provider.md)
[Configure GitLab as an OAuth 2.0 authentication identity provider](../integration/oauth_provider.md).
info:To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/engineering/ux/technical-writing/#assignments
info:To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/engineering/ux/technical-writing/#assignments
---
---
# GitLab as an OAuth 2.0 authentication service provider
# Configure GitLab as an OAuth 2.0 authentication identity provider
This document describes how you can use GitLab as an OAuth 2.0
This document describes how you can use GitLab as an OAuth 2.0 authentication identity provider.
authentication service provider.
If you want to use:
- OAuth 2 applications can be created and managed using the GitLab UI (described below)
or managed using the [Applications API](../api/applications.md).
- The [OAuth 2.0](https://oauth.net/2/) protocol to access GitLab resources on
- After an application is created, external services can manage access tokens using the
a user's behalf, see [OAuth 2.0 provider](../api/oauth2.md).
[OAuth 2 API](../api/oauth2.md).
- Other OAuth 2.0 authentication service providers to sign in to
- To allow users to sign in to GitLab using third-party OAuth 2 providers, see
GitLab, see the [OAuth 2.0 client documentation](omniauth.md).
[OmniAuth documentation](omniauth.md).
- The related API, see [Applications API](../api/applications.md).