website/docs/add-secure-apps/providers/oauth2/create-oauth2-provider.md
To create a provider along with the corresponding application that uses it for authentication, navigate to Applications > Applications and click Create with provider. We recommend this combined approach for most common use cases. Alternatively, you can use the legacy method to solely create the provider by navigating to Applications > Providers and clicking Create.
:::info
Optionally, configure the provider with the offline_access scope mapping. By default, applications only receive an access token. To receive a refresh token, applications and authentik must be configured to request the offline_access scope. Do this in the Scope mapping area on the Configure OAuth2/OpenId Provider page.
:::