Hey we were happy to see the changes <https://chan...
# ory-network
g
Hey we were happy to see the changes https://changelog.ory.sh/announcements/improved-oauth2-registration-flow and https://changelog.ory.sh/announcements/improved-user-experience-in-complex-oauth2-flows but not sure if we’re getting the expected behaviour when using the oauth registration and login flows with
session_after_registration
. We’ve set up a fresh project to check this using the react spa example. In the first case we’re initialising the registration flow with
promt=registration
which brings us to our registration page. We can see this flow object includes an
oauth2_login_request
object. The user signs up and continues with the verification flow, but after verifying The
continue
button from Ory Elements takes them to
/ui/welcome
on
localhost:3000
rather than completing to the original oauth flow? We have also tried initiating with
prompt=login
, then going from
localhost:3000/login
to
localhost:3000/registration
via Don't have an account? Signup Once we’ve verified in this case, the
continue
button does take us back to the original oauth flow, but instead of completing the flow, it redirects us back to
localhost:3000/login
asking the user to enter in the password again. (and actually after entering the password it redirects to
localhost:300/oauth2/...
rather than
localhost:4000/oauth2/...
We don't want users to have to enter the password for a second time. Are either of these changes meant to make this possible? The attached screen recordings show both of the above cases in action. Any clarification if this is possible at the moment with Ory would be a big help, thanks!
p
Hey @gray-shoe-60285 Have you tried this on the Account Experience? I think there are some small adjustments that are required on the SPA