Ouvrir dans l'explorateur

OAuth Redirection

Cette stratégie n'a pas de traduction française dans les modèles de l'éditeur ; le texte original est en anglais.

Type
Utilisateur
Chemin GPO
Configuration utilisateur › Stratégies › Modèles d'administration › Citrix Components › Citrix Workspace › User experience EN : User Configuration › Policies › Administrative Templates › Citrix Components › Citrix Workspace › User experience
Pris en charge sur
All Citrix Workspace supported platforms
Fichier ADMX
receiver.admx
Nom interne
receiver/Policy_OAuthRedirection

Explication

OAuth Redirection allows configuring URL patterns to allow OAuth logins to be redirected over Bidirectional Content Redirection.

-OAuth Pattern : This indicates the list of URL regular expressions that, when redirected to the client via Host-to-Client URL redirection, will be tracked as if an OAuth authentication flow has begun, and when the flow completes that resulting URL will be redirected back into the Host VDA that initiated that flow.. Semi Colon ";" acts as a delimeter.

-OAuth Scheme : This indicates the scheme of URLs .If a Scheme is specified, the terminating URL is expected to be of the form: scheme://something. If Scheme is not specified (empty), then the original resulting URL pattern is extracted from the Pattern via a regular expression capture group (must be specified in the Pattern). Semi Colon ";" acts as a delimeter.

Note:
1)Number of Patterns and scheme entries should match .If no scheme is specified for pattern just porvide ';' for empty scheme
2)OAuth Redirection works only if BidirectionalContentRedirection is enabled

Registre

HKEY_CURRENT_USER\Software\Policies\Citrix\ICA Client\OAuth Redirection
Nom de la valeur
AllowOAuthRedirection
ÉtatValeur écrite
ActivéREG_DWORD = 1
CléValeurDonnée
Software\Classes\citrix-oauth-redirREG_SZ = URL:Citrix OAuth2 Redirection Helper
Software\Classes\citrix-oauth-redirURL ProtocolREG_SZ = (chaîne vide)
Software\Classes\citrix-oauth-redir\shell\open\commandREG_SZ = "c:\Program Files (x86)\Citrix\ICA Client\redirector.exe" /launch "%1"
DésactivéREG_DWORD = 0

PowerShell

Commandes PowerShell qui écrivent dans le registre ce que la stratégie écrirait. Les valeurs entre chevrons (<…>) sont à remplacer.

Écrire directement dans le registre contourne la stratégie de groupe : si une GPO gère cette valeur, elle sera réécrite au prochain gpupdate ; sinon la valeur reste en place (effet « tatouage »). Préférez une GPO ou, en local, LGPO.exe. Exécutez PowerShell en administrateur pour HKLM. Certaines stratégies demandent un redémarrage ou gpupdate /force.

Activer

# Activer : receiver/Policy_OAuthRedirection
$k = 'HKCU:\Software\Policies\Citrix\ICA Client\OAuth Redirection'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AllowOAuthRedirection' -Value 1 -Type DWord
# Pattern
Set-ItemProperty -Path $k -Name 'Pattern' -Value '<valeur>' -Type String
# Scheme
Set-ItemProperty -Path $k -Name 'Scheme' -Value '<valeur>' -Type String
$k = 'HKCU:\Software\Classes\citrix-oauth-redir'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name '' -Value 'URL:Citrix OAuth2 Redirection Helper' -Type String
Set-ItemProperty -Path $k -Name 'URL Protocol' -Value '' -Type String
$k = 'HKCU:\Software\Classes\citrix-oauth-redir\shell\open\command'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name '' -Value '"c:\Program Files (x86)\Citrix\ICA Client\redirector.exe" /launch "%1"' -Type String

Désactiver

# Désactiver : receiver/Policy_OAuthRedirection
$k = 'HKCU:\Software\Policies\Citrix\ICA Client\OAuth Redirection'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AllowOAuthRedirection' -Value 0 -Type DWord

Revenir à « Non configuré »

# Revenir à « Non configuré » : receiver/Policy_OAuthRedirection
$k = 'HKCU:\Software\Policies\Citrix\ICA Client\OAuth Redirection'
Remove-ItemProperty -Path $k -Name 'AllowOAuthRedirection' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'Pattern' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'Scheme' -ErrorAction SilentlyContinue
$k = 'HKCU:\Software\Classes\citrix-oauth-redir'
Remove-ItemProperty -Path $k -Name 'URL Protocol' -ErrorAction SilentlyContinue

Options (2)

LibelléContrôleValeur de registreType REGContraintes / détails
Pattern:Part_OAuthRedirectionRedirectionPatternZone de textetextPatternREG_SZ
Scheme:Part_OAuthRedirectionSchemeZone de textetextSchemeREG_SZ

Application

Citrix Workspace app (Citrix) — modèles d'octobre 2026

Modèles d'octobre 2026 issus de pl4nty/web-admx-tool.