Open utterances-bot opened 10 months ago
Hello thank you for your dscription.
One question:
// 11. Enable BFF login, logout and userinfo endpoints endpoints.AddBffEndpoints();
I don't this method. What I have to install?
thank you
Hello @dfreger! If I remember correctly AddBffEndpoints extension is available in Duende BFF library.
using this method, doesn't refresh the access token when it's expired:
var accessToken = await transformContext.HttpContext.GetTokenAsync("access_token");
Consider using this method as it does the refresh process automatically:
var accessToken = await transformContext.HttpContext.GetUserAccessTokenAsync();
How to implement request routing for BFF with YARP - Blog by Kalle Marjokorpi
This blog is concentrated to Microsoft and cloud technology, coding and architecture. Solutions, tips and knowledge from a developer to developer.
https://www.kallemarjokorpi.fi/blog/request-routing-in-bff.html