kalleantero / kalleantero.github.io

0 stars 0 forks source link

https://www.kallemarjokorpi.fi/blog/how-to-build-micro-frontend-architecture-with-web-components-and-bff-part-22.html #4

Open utterances-bot opened 1 year ago

utterances-bot commented 1 year ago

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/how-to-build-micro-frontend-architecture-with-web-components-and-bff-part-22.html

vcifello commented 1 year ago

Great articles.

Can you give some direction on running the GitHub project.

kalleantero commented 1 year ago

Migrated from Cusdis. Written by Navdeep Gadela at 2022-03-28 17:50.

Do you have repository added to git by any chance ?

kalleantero commented 1 year ago

Migrated from Cusdis. Written by Navdeep Gadela at 2022-03-28 17:50.

Do you have repository added to git by any chance ?

Migrated from Cusdis. Written by Kalle Marjokorpi at 2022-04-20 14:39.

Hello Navdeep Gadela, I added this sample PoC project to here https://github.com/kalleantero/webcomponent-bff-poc

kalleantero commented 1 year ago

Migrated from Cusdis. Written by Alatau at 2023-07-26 15:34.

Hello! In our .net6 web site I have added YARP proxy to the backend API, to proxy requests from the external web component, developed by another team (like in the case described in the article). The proxy seems to work and intercept requests, and component started to render something, but when I need to add a token from the currently authenticated site user to the intercepted request's headers, the identity from the httpContext does not ANY claims. We have not build BFF supposing that everything shall work without it. I have created a custom ITransformProvider implementation with Apply() method, which shall do the actual headers update. The Apply() method is being called, but httpContext inside it does not have any identity claim... What am I doing wrong?