Hello, I'm new to ory and folled the instructions ...
# general
b
Hello, I'm new to ory and folled the instructions to getting started with ory kratos in docker. It's running fine. But I'm trying to run next.js app which should connect with my deployed kratos. I didn't do it. Could you please help. Note: It's communicating with cloud. Also I tried to run node and express example of Loginhttps://www.ory.sh/docs/getting-started/integrate-auth/expressjs but when I run:
Copy code
npm run proxy
Then it redirects to
Copy code
<https://console.ory.sh/login?login_challenge=otXSVWj-tRT0YguudpqZ9fI6sw_hmYbYEZV9yg-DhaudxVeYhQHfExAQd7fif_NOguSBkK8mzsz-dfyoHPHqVP-2ikvCw8ssm9khceQQ05Yk4NldA1orWfKaS6X7JRvrT1Vx5chRQEPh4Wq9Dv3-9V1nMhL1De5un7H8yQXExVXBiMaYlGbVoWHzQBPrDg-WSWeNl7-uQEx_ed0yWOOnTvC5LgNPmfNQOlR4EX6zb0RAUtssmWAsPe5HZWCYztKMB5z3qCsqlQy-lKB_uN38trS4lBPvJUTxyTaL7TyjjMX9nnWXLGcF-Um6vSRwDjvAHVLAESUZcMpuVSTxEO55Y-0irx2fk8blX5hYpzvfkfN_kdKFiVJ1Et8bdoa_PBVehVL7yMXcqAiNRKGSyqv4nRF1wWCfOu_H2QQeD5yy6gmckVcH_1J06T4hexlrou_-CmxhoLHdP8_eMPUAlrpfB7ReDQOs1peV3qtqydKe9SlS-Y8eM5qsN1_VDRxh6nU9Tje0TdN_OudwAWDRYTdRtDl3tOZye2ZYFsKFvXNoM7mxfmv39hCoz_kDugOKb51i1Pqzd-HNhCMdA-fwJC5z_EgTw117Sktqr_MRlbsMKsrk5SisfSmrH33v5oY5_BJX-D7y2Hv-BpA9GAUO9NcSBkWQGjS_UYhURA6wT8ObxsoITLG0A7fLtGLX9e6KXpYFD8MrMYI0POAKjB0J2uDjXUao6M90NFwRzcxurj55bWnJKEwhzYewniQ9gYZg374O7Qx2o6T1NMbn4b_7lJJ-DOr4yjPbuaSSkHu6NNk4-mId0_r-LB3WdDQYC3PsoDXLfIOekQkDrPUKOP2qAAktCmQSw59zHL2V0wFU5NtI2xIuinoR48765GUG1Fr__o-9PqzZxYk93US2nkDrDiAPdvn753Z0S6O8kCsOCaNi7UjL3E2QI9F0q3nVA0AQ67STzmAlUgL3sllvxhih67N9EFQU8xFkJYpLQY6IIhjyjkfDVlTIqr30gnyhzrnfcLTqYAziIdnyGwO4eh-MmI3njzFj6gUqrJ7fROAsAONLoJc6pBwNho3_hLQbGI7Kn1FwVChFhQ8jz_pPauu6sue_CqsaD2gzgTxH7vxKEwTdwHraE2FPb7ZLkXCylubdHmqyqbFB0YPUGmXMxsMCwbfwGk69zXcn8XUg0tZ6VDstaSrPy7JE8hfKNyHWxj_2xK9e9XhRwGfkmRodZZCQ0asTnMPyJoa8vYT5aaVD49Yt6kuoOLCxQf-bPa7vRgs6oC2tI13iFMEMYlk7kEmt2Z3iWaTWwy2zjCxUiSSwoWpjqFu3G7tLw6c2ZRqVhkxhwsiEXtX7M1m6p0nUoaJ3TUdcSi_--OXqvJVvc3Lc88iwp3zKQgcxLbJz73EkpD1aQie03sCQaln9Y61nWuT8dY3Ynth07mVLTDFeWAET_pOhzljiju2Ip0If5jpa1OjkqQJUmbpFfkMZOi65-Lx6s8Gdq8gJ_3G4fVLn3hNe7OTOu8VcI5KRg1Xyl3geZmD0cyl5Z4YyTFqe__D_M8tUKOKdtwiJCVEAZjXYMZt6qjfAJDxHuYaHSKZeG6-0GbN7OXLJpkbeAfF29OB_bPMCImHMNcItFE9XAMFh7nIThYbD6jL55svbviAAJw%3D%3D&flow=03437e42-948a-4f6e-87ed-871f3e5a150b>
s
I'm not quite sure what you are trying to do. The proxy should only be required when using Ory Network, not with self-hosted. I'll add some info to the docs that it is required to log into the Ory Console for using the proxy.
You should really use this guide for self-hosting: https://www.ory.sh/docs/kratos/quickstart The code from the other guide also works, but the setup is different
b
Okay thanks got it. But how I can make it work with self hosted kratos. By reading documentation I was failed. Could you please help me by instruct me. Obviously I’m doing something wrong but cannot figure out.
Thanks let me check