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.
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
| État | Valeur écrite | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Activé | REG_DWORD = 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 StringDé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 DWordRevenir à « 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 SilentlyContinueOptions (2)
| Libellé | Contrôle | Valeur de registre | Type REG | Contraintes / détails |
|---|---|---|---|---|
| Pattern:Part_OAuthRedirectionRedirectionPattern | Zone de textetext | Pattern | REG_SZ | |
| Scheme:Part_OAuthRedirectionScheme | Zone de textetext | Scheme | REG_SZ |
Application
Citrix Workspace app (Citrix) — modèles d'octobre 2026
Modèles d'octobre 2026 issus de pl4nty/web-admx-tool.