Why did "Signed out" screen start showing up?
Hello guys, after doing a bunch of Kinde-unrelated frontend changes I started getting Signed out screen from Kinde.
I don't remember changing any Kinde settings and don't understand where this screen is coming from. Can anyone help me?:(
Sharing what we have on production (correct behavior) vs what I have on a deployed staging environment (incorrect). The screen does not show up when developing locally.
https://www.loom.com/share/57b5fe70a74e456d9561ffb14331cf55?sid=b47f2b84-f787-4e6d-8461-ca87a89df0db
14 Replies
Hi there,
It appears that there is a misconfiguration in your .env file. Might be related to redirection or callback url.
Oh!
I am using these two when initializing the client, do you think one of them might not be set?
did you set logout_uri?
Here are the possible cases.
URL mismatch: The logout URL in your code must exactly match the one configured in your Kinde application
Missing configuration: If you don't specify a logout redirect URL, Kinde will use its default sign-out screen
Trailing spaces: Ensure there are no spaces before or after the logout URL in your Kinde application settings
Make sure both your Kinde application settings and SDK configuration point to the same custom logout screen URL.
Amazing, thanks
Your welcome
We are here to help you.
It was URL mismatch. I didn't add this deployment to the "Allowed logout redirect URLs". Thanks so much Patrick.
Do you have any tips on how to implement auto-adding these in CI/CD?
We currently have a problem that the CI/CD needs to re-authenticate after one month
By the way - I asked this the KindeAI and its response wasnt really relevant, see https://discord.com/channels/1070212618549219328/1396748448992067595
You saying its URL mismatch OR missing redirect URL OR trailing spaces is what solved it

1. You mean that you want to update "Allowed logout redirect URLs" automatically?
2. Will check the discord.
Thank you for your feedback on our AI. I believe that the clearer the question, the more accurate the answer will be.
:)
I am adding Allowed logout redirect URLs in my CI/CD pipeline so that we have clearly separated staging environments (trunk based)
Hi Michal, could you tell me how I can assist you with this?
Do you have an idea how to integrate Kinde to a CI/CD pipeline so that when I am building a new trunk, e.g.
dev-1234.myapp.com
this new URL gets added to the Allowed URLs and Allowed Logout redirect URLs? The problem we have now is that Kinde needs re-authentication after month which breaks our pipeline once per monthHi there, you can update both callback URLs and logout redirect URLs through the Kinde Management API.
https://docs.kinde.com/kinde-apis/management/#tag/callbacks
You will need to implement custom logic with your CI/CD pipeline.
Nice, thanks!
Your welcome.