-
Notifications
You must be signed in to change notification settings - Fork 977
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow configuration of custom upstream_parameters #4293
Comments
It should probably be fine to allow setting most parameters (except security relevant ones line state, nonce etc). What exactly are you trying to solve |
I'm trying to solve a demand of an important partner. kratos.updateLoginFlow({
updateLoginFlowBody: {
// ...
upstream_parameters: { idp_hint: extractIdpHintFromUrl() }
}
}) As it is now, we are forced to hack. |
Which provider is that? We can probably add a custom provider to support this parameter |
I will tell you privately. |
If it‘s private it doesn’t belong in an open source repository :) |
Preflight checklist
Ory Network Project
No response
Describe your problem
In a social login a identity provider asked us to pass a custom query parameter at login (let's say
idp_hint
).It would be so simple as doing
but Ory Kratos currently supports only the following upstream parameters:
login_hint
,hd
,prompt
, andauth_type
.Describe your ideal solution
It would be handy to have a configuration field to allow other upstream parameters.
Workarounds or alternatives
Even simpler would be to allow any custom parameter. But of course it would mean a security risk.
Version
v1.3.0
Additional Context
No response
The text was updated successfully, but these errors were encountered: