DuendeSoftware / Support

Support for Duende Software products
20 stars 0 forks source link

Authenticate BFF locally for development purposes #1233

Closed zidadrtl closed 3 months ago

zidadrtl commented 3 months ago

Which version of Duende BFF are you using? Latest, enterprise license

Which version of .NET are you using? .NET 8.0

To Reproduce

I'm looking for a way to simulate authentication in the BFF (with YARP on K8s) without having to connect to IdentityServer. Is there a simple way to generate the right cookies with an (unsigned) claim I provide in the app itself?

I was looking at the BFF source code but it seems it's more related to the Asp.net OpenID implementation, maybe you have a quick hint before diving into the sources there?

Thanks!

Wiebe

zidadrtl commented 3 months ago

ah sorry for the duplicate question, I thought I lost my question somewhere as I couldn't find it anymore. Was looking in the wrong issue list. https://github.com/DuendeSoftware/Support/issues/1232