faint-judge-29851
03/22/2024, 7:47 PMmagnificent-energy-493
faint-judge-29851
03/22/2024, 7:54 PMfaint-judge-29851
03/22/2024, 9:05 PMhigh-optician-2097
faint-judge-29851
03/23/2024, 3:05 PMclass FrontendApi
and understand how each works, how different flows work for custom UI (including errors). And which flow can be initiated server side (node/python/go, something with base http minimal server), which need to be from the browser side (or mobile).
All the examples (and the even the client library has just so many abstraction framework layers, and admin side functionality built in too). So it’s like peeling an onion. I like your base Golang codebase, hence giving Ory a shot.
Can’t get a simple clean example with using Oy proxy and Ory network as a user.
const r = await ory.createBrowserLoginFlow({
cookie: request.headers.cookie,
});
Does this need to be server side or client side (and why). When I use this it just gives me below data, now what am I suppose to do with this?
{
"data": {
"url": "/self-service/login/browser"
},
"headers": {
"content-type": "application/json; charset=utf-8",
"date": "Sat, 23 Mar 2024 15:00:13 GMT",
"strict-transport-security": "max-age=0;",
"vary": "Origin",
"content-length": "37"
}
}
faint-judge-29851
03/23/2024, 3:45 PMbest-hair-72217
03/23/2024, 4:41 PMhigh-optician-2097
high-optician-2097
faint-judge-29851
03/24/2024, 4:35 PMbest-hair-72217
03/24/2024, 6:46 PMfaint-judge-29851
03/24/2024, 7:45 PMLocation: <http://localhost:4000/ui/login?flow=190b752d-605e-4436-a50e-fc57e9b18a77>
Which will result in browser client going to Orys UI not mine. How do I fix this?faint-judge-29851
03/24/2024, 7:50 PMlocalhost:5173
- which is where my local app is running. Appending a return_to doesn’t work eitherfaint-judge-29851
03/25/2024, 2:56 PM