https://www.ory.sh/ logo
a

adamant-breakfast-36508

11/15/2021, 4:10 AM
I'm confused on login challenges. Where are those generated? They don't seem optional.
l

limited-tent-11422

11/15/2021, 9:27 AM
Login challenge is just a unique ID of specific login request so you can refer to it.
a

adamant-breakfast-36508

11/15/2021, 4:52 PM
Right but who generates it? I've cloned the login/consent app. When I hit the login page, it shows a 404 from hydra admin. It's trying to look up the login challenge to find session information but I haven't logged in before so none will exist yet.
f

few-van-68429

11/15/2021, 10:50 PM
A login challenge is generated by hydra, right before it redirects to the consent app to complete it.
You don't have to have "logged in before"
2 Views