I want to send the `login_hint` when I submit an o...
# ory-network
f
I want to send the
login_hint
when I submit an oidc login flow. But it is a regular form submit, so how should I encode the
upstream_parameters
object? Should I use
JSON.stringify
or
URLSearchParams
? Or something else?
p
Hi @flat-flower-81031 You need to use the json body or multipart/form-data https://www.ory.sh/docs/kratos/bring-your-own-ui/custom-ui-advanced-integration#upstream-provider-parameters
f
<input type="hidden" name="upstream_parameters.login_hint" value="<mailto:foo@bar.com|foo@bar.com>" />
Thanks Alano. I haven’t read through that page yet.
❤️ 2
😄