Login Redirecting Twice to Application After Successful Authentication
We are using ZITADEL as the OIDC provider. The flow is standard Authorization Code Flow. After login, the user is redirected to our redirect_uri as expected. However, immediately after the initial redirect, the user is redirected again to the same URI. This causes a second page load or duplicate processing on our end. Due to which we are getting error on requesting for token. Since, token is requested twice.
Questions:
1. Is this double redirect behavior expected under any circumstances?
2. Could there be a misconfiguration in our OIDC client or project settings in ZITADEL?
3. Are there known issues or logs we can look at to troubleshoot this further?

2 Replies
I am using Zitadel Console
hey @Nik does the
redirect_uri
matches exactly? The only debug option would be to cross vertify all the params being set here https://zitadel.com/docs/apis/openidoauth/endpoints#required-request-parameters or any additional params being set here
https://zitadel.com/docs/apis/openidoauth/endpoints#additional-parameters