Skip to content

Commit eaee475

Browse files
website/docs: update create oauth provider page (cherry-pick #16617) (#16806)
website/docs: update create oauth provider page (#16617) * Updated the page to be more consistent with upcoming changes to the saml page * Add note Co-authored-by: Dewi Roberts <[email protected]>
1 parent 19b672b commit eaee475

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

website/docs/add-secure-apps/providers/oauth2/create-oauth2-provider.md

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,14 @@
22
title: Create an OAuth2 provider
33
---
44

5-
To add a provider (and the application that uses the provider for authentication) use the ** Create with provider** option, which creates both the new application and the required provider at the same time. For typical scenarios, authentik recommends that you create both the application and the provider together. (Alternatively, use our legacy process: navigate to **Applications --> Providers**, and then click **Create**.)
5+
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**.
66

7-
1. Log in to authentik as an administrator and open the authentik Admin interface.
8-
9-
2. Navigate to **Applications > Applications** and click **Create with provider** to create an application and provider pair. (Alternatively you can create only an application, without a provider, by clicking **Create**.)
10-
11-
3. In the **New application** box, define the application details, and then click **Next**.
12-
13-
4. Select the **Provider Type** of **OAuth2/OIDC**, and then click **Next**.
14-
15-
5. On the **Configure OAuth2/OpenId Provider** page, provide the configuration settings and then click **Submit** to create and save both the application and the provider.
7+
1. Log in to authentik as an administrator, and open the authentik Admin interface.
8+
2. Navigate to **Applications > Applications** and click **Create with provider** to create an application and provider pair.
9+
3. On the **New application** page, define the application settings, and then click **Next**.
10+
4. Select **OAuth2/OIDC** as the **Provider Type**, and then click **Next**.
11+
5. On the **Configure OAuth2/OpenId Provider** page, provide the configuration settings and then click **Submit** to create both the application and the provider.
1612

1713
:::info
18-
Optionally, configure the provider to have the `offline_access` scope mapping. Starting with authentik 2024.2, by default applications only receive an access token. To receive a refresh token, both 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.
14+
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.
1915
:::

0 commit comments

Comments
 (0)