Hey, when implementing a custom login / consent pa...
# ory-network
q
Hey, when implementing a custom login / consent page. The Ory redirects to our page with the
login_challenge
and we need to call Ory Admin API to understand more about the flow, such as the client metadata. This adds an additional backend call to our frontend hence extra latency. Is there a way to configure Hydra so the redirection is done with extra information in the URL? Such as
client_id
etc.?
w
You can encode data under
state
q
@wide-dawn-74672 possible, but that would put responsibility to the oAuth Client to encode the data into state properly and initiate the oAuth request. This is something we would like to avoid as the Clients maybe using out of the box libraries / authorization servers which we don't want them to edit.
w
maybe use the consent page to add data to the id token data or userinfo?
q
@wide-dawn-74672 we need the info in the login page, possibly the second the page is opened.