gray-shoe-60285
09/22/2023, 3:48 PM<https://app.example.com/login>
which works for login. For our registration page <https://app.example.com/signup>
is there anything we need to submit with the flow, we're using ory.createBrowserRegistrationFlow(...)
. We don't want to have to send users to /login
just after they've signed up. Any pointers would be much appreciated 🙏 we've tried including a login_challange
but that had no affect.proud-plumber-24205
09/25/2023, 8:02 AM/services/identity/oauth2_provider/override_return_to=true
https://www.ory.sh/docs/oauth2-oidc/identity-provider-integration-settings
If you have a brand new project this is enabled by default. However, if you are enabling it on an existing project, please take note of any return_to
URLs set by your UI, since they will be overwritten by this setting in an OAuth flow. Then include the login challenge in the URL to Ory Network registration endpoint
https://github.com/ory/kratos-selfservice-ui-node/blob/master/src/routes/registration.ts#L52C19-L66
https://www.ory.sh/docs/reference/api#tag/frontend/operation/createBrowserRegistrationFlowproud-plumber-24205
09/25/2023, 8:04 AMgray-shoe-60285
09/26/2023, 10:18 AMcreateBrowserRegistrationFlow
that including the loginChallenge
is not compatible when using Hydra on Ory Network? We'd like to stick with an Ory Network only solution. Is there another means to achieve the above?
/services/identity/oauth2_provider/override_return_to=true
was indeed already set to true for us. But including a login_challenge
in createBrowserRegistrationFlow
has no effectproud-plumber-24205
09/26/2023, 11:22 AMgray-shoe-60285
09/26/2023, 11:23 AMgray-shoe-60285
09/27/2023, 7:49 PMlogin_challange
in the peramaters in createBrowserRegistrationFlow
and can see it is appending it when it does the request to create the flow:gray-shoe-60285
09/27/2023, 7:52 PMlogin_challenge
after being redirected back from our oauth endpoint. Could it be that this login_challange
is somehow not correct?proud-plumber-24205
09/29/2023, 6:56 AMproud-plumber-24205
09/29/2023, 6:58 AMproud-plumber-24205
09/29/2023, 7:00 AMgray-shoe-60285
09/29/2023, 11:31 AMlogin_challange
from staring a login flow, and we then append this when creating the registration flow. We then use the flow ID from the newly created registration flow when submitting registration. But after registration the user is not redirected. We just get a 200
response , not 422
. Is there something in the body of the 200 that need to we manually need to redirect?gray-shoe-60285
09/29/2023, 11:35 AMlogin_challange
from the url query param after we are redirected to our custom login page when our oauth login flow is started. Our registration is submitted on a separate /signup
page. This isn't ideal but we're just trying to get things workingproud-plumber-24205
09/29/2023, 11:35 AMgray-shoe-60285
09/29/2023, 12:33 PMlogin_challange
appended. Does anything flag up here to you?proud-plumber-24205
09/29/2023, 2:47 PMoverride_return_to
enabled in your config?
ory patch ory patch project <your-project-id> \
--replace '/services/identity/oauth2_provider/override_return_to=true'
gray-shoe-60285
10/02/2023, 8:25 AMoverride_return_to
is enabled: