Skip to content

Commit 8c4918d

Browse files
authored
[before Universe - ASAP] Authorization flow in OAuth for devices and command line tools (GA) (#16534)
* Re-versioned device flow beta note to ver_lt "enterprise-server@3.1" * Added updates for identifying-and-authorizing-users-for-github-apps section
1 parent 4a06934 commit 8c4918d

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

content/developers/apps/authorizing-oauth-apps.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,11 +115,13 @@ curl -H "Authorization: token OAUTH-TOKEN" {% data variables.product.api_url_pre
115115
{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@2.21" or currentVersion == "github-ae@latest" %}
116116
### Device flow
117117

118+
{% if currentVersion ver_lt "enterprise-server@3.1" %}
118119
{% note %}
119120

120-
**Note:** The device flow is in public beta and subject to change.{% if currentVersion == "free-pro-team@latest" %} To enable this beta feature, see "[Activating beta features for apps](/developers/apps/activating-beta-features-for-apps)."{% endif %}
121+
**Note:** The device flow is in public beta and subject to change.
121122

122123
{% endnote %}
124+
{% endif %}
123125

124126
The device flow allows you to authorize users for a headless app, such as a CLI tool or Git credential manager.
125127

content/developers/apps/identifying-and-authorizing-users-for-github-apps.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,11 +123,13 @@ curl -H "Authorization: token OAUTH-TOKEN" {% data variables.product.api_url_pre
123123
{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@2.21" or currentVersion == "github-ae@latest" %}
124124
### Device flow
125125

126+
{% if currentVersion ver_lt "enterprise-server@3.1" %}
126127
{% note %}
127128

128-
**Note:** The device flow is in public beta and subject to change.{% if currentVersion == "free-pro-team@latest" %} To enable this beta feature, see "[Activating beta features for apps](/developers/apps/activating-beta-features-for-apps)."{% endif %}
129+
**Note:** The device flow is in public beta and subject to change.
129130

130131
{% endnote %}
132+
{% endif %}
131133

132134
The device flow allows you to authorize users for a headless app, such as a CLI tool or Git credential manager.
133135

0 commit comments

Comments
 (0)