When using AzureAD authentication provider the rancher URL gets redirected back to the primary URL instead of staying at an alternate. (#1241)

* When using AzureAD authentication provider the rancher URL gets redirected back to the primary URL instead of staying at an alternate.

* improve description and add example

* rv'ing preliminary edits -- they unnecessarily expand the scope of the PR

* reword

* revised wording again, rm'd example

* Update docs/how-to-guides/new-user-guides/authentication-permissions-and-global-configuration/authentication-config/configure-azure-ad.md

* Update docs/how-to-guides/new-user-guides/authentication-permissions-and-global-configuration/authentication-config/configure-azure-ad.md

* versioning up through v2.7

* added more versions

ticket notes that this is an inherent design decision in Rancher
This commit is contained in:
Marty Hernandez Avedon
2024-05-09 11:46:39 -04:00
committed by GitHub
parent 932544b627
commit 6ae22a0431
6 changed files with 19 additions and 0 deletions
@@ -202,6 +202,9 @@ Enter the values that you copied to your [text file](#tip).
**Result:** Azure Active Directory authentication is configured.
#### (Optional) Configure Authentication with Multiple Rancher Domains
If you have multiple Rancher domains, it's not possible to configure multiple redirect URIs through the Rancher UI. The Azure AD configuration file, `azuread`, only allows one redirect URI by default. You must manually edit `azuread` to set the redirect URI as needed for any other domains. If you don't manually edit `azuread`, then upon a successful login attempt to any domain, Rancher automatically redirects the user to the **Redirect URI** value you set when you registered the app in [Step 1. Register Rancher with Azure](#1-register-rancher-with-azure).
### Migrating from Azure AD Graph API to Microsoft Graph API