Context of my task:
I have a full implementation of OIDC
The page
http://localhost:8080/home is under authorization for me, if I go to it, the login page opens -> login/registration -> the "home" page opens.
But the "Don't have an account? Sign up" option on the login page looks very inconspicuous, so I want to have 2 buttons on the site - one "login" and the second "register"
I found the Post-Registration Redirect option, configured it
Then I went to the URL https://
.../ui/registration -> registered -> a redirect to "/home" occurred -> since my service cookie is not yet there, a redirect to the oauth URL(an example of which is above) occurred.
And here I expect that since there is already a ory session, a redirect to the oauth callback url will immediately occur (it is happens if, for example, I am logged in to ory, but I don’t have my service’s cookie yet and I just go to the /home page), but in this case for some reason it doesn’t happen and the login page opens for me despite the already existing ory session