Please check if your Feature Request has not been already raised in the Discussions Tab, as we would like to reduce duplicates. If it has been already raised, simply upvote it 🔼.
Is your proposal related to a problem?
I checked from the code here that the SAML login don't work with login_hint field:
https://github.com/boxyhq/jackson/blob/7576341eaec09573118d73f3460b5ea707974888/npm/src/controller/oauth.ts#L492
Can we support it?
My example local setup with NextAuth is
BoxyHQSAMLProvider({
authorization: { params: { scope: '' } },
issuer: "https://xxx.xxx.xxx",
clientId: "dummy",
clientSecret: "dummy",
}),
Describe the solution you'd like
Can signIn by passing the login_hint in as the following NextAuth example code:
signIn(
provider.id,
{ callbackUrl: '/' },
{ tenant, product, login_hint: email },
);
And the IdP side can automatically fill it into their login page.
Describe alternatives you've considered
N/A
Additional context
N/A
Is your proposal related to a problem?
I checked from the code here that the SAML login don't work with login_hint field:
https://github.com/boxyhq/jackson/blob/7576341eaec09573118d73f3460b5ea707974888/npm/src/controller/oauth.ts#L492
Can we support it?
My example local setup with NextAuth is
Describe the solution you'd like
Can signIn by passing the login_hint in as the following NextAuth example code:
And the IdP side can automatically fill it into their login page.
Describe alternatives you've considered
N/A
Additional context
N/A