Time to time when trying to login to ArgoCD using Azure SSO which is configured using OIDC - Azure AD App Registration Auth using OIDC, the following error appears: Invalid redirect URL: the protocol and host (including port) must match and the path must be within allowed URLs if provided.
Issue is no consistent, after refresh looks like working again, but while trying to login/logout multiple times approximately 1 of 5 times if fails with error above. Can be fixed by simply refreshing browser, but sometimes it doesn't help and clear cache/cookies helps.
Logs from both application doesn't shows the reason. There is some failures/interactions in Azure logs, but they are not related to this errors.
Describe the bug
Time to time when trying to login to ArgoCD using Azure SSO which is configured using OIDC - Azure AD App Registration Auth using OIDC, the following error appears: Invalid redirect URL: the protocol and host (including port) must match and the path must be within allowed URLs if provided. Issue is no consistent, after refresh looks like working again, but while trying to login/logout multiple times approximately 1 of 5 times if fails with error above. Can be fixed by simply refreshing browser, but sometimes it doesn't help and clear cache/cookies helps. Logs from both application doesn't shows the reason. There is some failures/interactions in Azure logs, but they are not related to this errors.
To Reproduce
Expected behavior
User is able to login without error described above. Authentication is successfull.
Helm Chart version
Logs