From 9431d1a27834169e50cdb5ff28c991ab599ef8d0 Mon Sep 17 00:00:00 2001 From: NimRegev Date: Tue, 24 Jan 2023 10:59:22 +0200 Subject: [PATCH 1/2] Update oauth-setup.md Added custom auth disabled for hosted --- _docs/administration/oauth-setup.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/_docs/administration/oauth-setup.md b/_docs/administration/oauth-setup.md index be8d4e21d..5755a1dc9 100644 --- a/_docs/administration/oauth-setup.md +++ b/_docs/administration/oauth-setup.md @@ -48,7 +48,7 @@ The Type column identifies the authentication for the provider account as either max-width="80%" %} -As the account administrator, you can change the authentication method for an account at any time to either Codefresh or Custom, or manual token entry. See [Select authentication mechanism for runtime](#select-authentication-mechanism-for-runtime). +As the account administrator, you can change the authentication method for hybrid runtimes at any time to either Codefresh or Custom, or manual token entry. See [Select authentication mechanism for runtime](#select-authentication-mechanism-for-runtime). ### Create a custom OAuth2 Application for Git provider Create a custom OAuth2 Application for Codefresh in your Git provider accounts with the correct scopes, and set up authentication for the same within Codefresh. Users in Codefresh can then authorize access to the Git provider using OAuth2, instead of a personal access token. @@ -211,7 +211,8 @@ Configure the settings for the Custom OAuth2 Application in Codefresh. Configuri You have completed the setup to authorize Codefresh as an OAuth App for your Git provider. ### Select authentication mechanism for runtime -For a Git provider and a runtime account, select the authentication mechanism: Codefresh account, Custom provider account if one exists, or token-based authentication. +For a Git provider and a hybrid runtime, select the authentication mechanism: Codefresh account, Custom provider account if one exists, or token-based authentication. +>Hosted runtimes can have either Codefresh or PAT token authentication mechanisms. Custom provider authentication is disabled for hosted runtimes. 1. In the Codefresh UI, go to [Authentication](https://g.codefresh.io/2.0/account-settings/authentication?providerName=github){:target="\_blank"}. 1. Select the runtime, and click ![](/images/administration/users/icon-Edit.png?display=inline-block) **Edit**. From 6bbb733e2d595d5ce7c1dff549f8ebec359aca84 Mon Sep 17 00:00:00 2001 From: NimRegev Date: Tue, 24 Jan 2023 11:08:36 +0200 Subject: [PATCH 2/2] Update oauth-setup.md --- _docs/administration/oauth-setup.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_docs/administration/oauth-setup.md b/_docs/administration/oauth-setup.md index 5755a1dc9..1e0409f08 100644 --- a/_docs/administration/oauth-setup.md +++ b/_docs/administration/oauth-setup.md @@ -212,7 +212,7 @@ You have completed the setup to authorize Codefresh as an OAuth App for your Git ### Select authentication mechanism for runtime For a Git provider and a hybrid runtime, select the authentication mechanism: Codefresh account, Custom provider account if one exists, or token-based authentication. ->Hosted runtimes can have either Codefresh or PAT token authentication mechanisms. Custom provider authentication is disabled for hosted runtimes. +>Hosted runtimes can have either Codefresh or PAT token authentication mechanisms. Custom provider authentication is not supported. 1. In the Codefresh UI, go to [Authentication](https://g.codefresh.io/2.0/account-settings/authentication?providerName=github){:target="\_blank"}. 1. Select the runtime, and click ![](/images/administration/users/icon-Edit.png?display=inline-block) **Edit**.