[Samples] Add ability to pass provider name and bypass server login page
xperiandri opened this issue · comments
Confirm you've already contributed to this project or that you sponsor it
- I confirm I'm a sponsor or a contributor
Describe the solution you'd like
When you log in from a mobile device or SPA you don't want to see the standard authentication server login page but display possible options in the native app UI. And then request auth server to redirect the user straight to the selected identity provider.
I propose to add that logic to the server sample
Additional context
No response
The 2 engineering server samples contained in the core repository currently don't have delegated authentication enabled but the two clients do and they implement what you suggest.
That said, I guess you're more interested in the server part so I'm going to move your ticket to the samples repo, where it's something we'll consider when moving the samples to the OpenIddict client.
The 2 engineering server samples contained in the core repository currently don't have delegated authentication enabled but the two clients do and they implement what you suggest.
I update the sandbox samples to support GitHub delegation using the OpenIddict client: openiddict/openiddict-core@fcf3f92.
Closing.