DuendeSoftware / BFF

Framework for ASP.NET Core to secure SPAs using the Backend-for-Frontend (BFF) pattern
Other
333 stars 75 forks source link

Support for prompt=create #186

Open AndersAbel opened 1 year ago

brockallen commented 1 year ago

What needs to be done in the BFF for this? I'd think you'd do this in the OIDC config? Or are you looking for some new endpoint that does this (sort of like the ~/bff/login)?

AndersAbel commented 12 months ago

If you always want prompt=create it's a simple OIDC config thing. But if you want it for some requests but not others, it gets more complicated. We added support for prompt=none with a separate endpoint and for that we added some post configure magic to make it work. I'm thinking of generalizing that post configure work and either add a new endpoint for create, or start supporting a query string param to login (which would make the silent login endpoint obsolete)

doeringp commented 9 months ago

Another use case I would like to support in the BFF is prompt=select_account.