When I go to the Identities page of one of my proj...
# ory-network
e
When I go to the Identities page of one of my projects, it says: “There are no identities in your project” and there is an error message
h
Thank you! We just noticed this as well and are investigating
Do you have a custom domain set up?
e
yes
h
thanks, we have identified the problem and are working on a fix. This affects currently only the Ory Console
👍 1
e
I don’t know if this is connected somehow, but I’ve noticed this error, because [application_url]/sessions/whoami suddenly started to respond with a <a href=“[my_custom_domain]/sessions/whoami”>Temporary Redirect</a>. instead of a JSON with the identity
So for me at least this isn’t just a console issue
h
Ok I see - what SDK or client are you using?
We are going to roll back this change for now
e
I’m calling the endpoint in python with httpx.AsyncClient
from my backend
h
does the async client have an option to automatically follow redirects?
e
Oh, it does, I’ll set this up
It still reponds with unauthorized, even though nextjs frontend connects properly through the sdk
h
@echoing-orange-98501 do you know if the SDK is sending
accept: application/json
?
can you maybe show me the SDK call in code that is failing?
e
all works, sorry it was just the redirect, I’ve gotten a bit confused juggling between the dev and prod versions
thanks!
h
ok nice, we will still improve this!+
e
Idk how I’ve never seen a redirect in my life, but yeah, turns out python libs like requests and httpx don’t follow redirects by default anyways, thanks for the quick response 🙏
h
no problem, i am glad that you were able to resolve this so quickly. We are now pushing fixes for the console and will also not redirect SDKs any more unless they come from the browser directly! we’ll push this change through the pipeline which takes a few hours though 🙂
🔥 1