Skip to content
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

How to pass a dynamic parameter to the auth endpoint? #1528

Open
TonyLunt opened this issue Aug 9, 2024 · 0 comments
Open

How to pass a dynamic parameter to the auth endpoint? #1528

TonyLunt opened this issue Aug 9, 2024 · 0 comments

Comments

@TonyLunt
Copy link

TonyLunt commented Aug 9, 2024

Is your feature request related to a problem? Please describe.
I use a custom auth provider. They support passing a login_hint parameter to pre-populate the user's email address. This is extremely helpful for offering easy login links for users from emails or other platforms. Is there no way to pass a dynamic parameter to the ./auth/login/[provider] endpoint?

Describe the solution you'd like
I would like to be able to pass dynamic parameters to the login page.

Describe alternatives you've considered
I would also be open to being able to link to my auth provider login page directly, which allows me to pre-populate the email. It appears that my session is not authenticated when it routes back to my application though. Looking at the network activity in my browser during a login, I'm assuming this is due to the reliance on the staticWebAppsAuthNonce value.

Any thoughts would be greatly appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant