Forum Discussion

midhun_michael's avatar
midhun_michael
Occasional Reader
Mar 10, 2025

Setting Authorization Cookie in .Net 7 core

Hi,

I was working with a web application where i have already implemented methods to set the authorization cookie in the startup of the project. Recently I came across implementing a power BI dashboard in my application Since the power BI has some strict content security policies which only allows the Microsoft related domains like teams and share point to implement the reports ,it blocked the report being rendered in my app thus i switched to the embed API of power Bi, While configuring the power BI settings in the startup The power BI also configured some Auth Cookies .Since my application already implements the auth cookies it conflicted with the existing implementation causing Build errors. I Tried setting the cookies in the power BI configuration and then added the required cookie settings of my application to the cookie being set in the power BI configuration . But it still shows no Use ,My application wont recognize the claims and cookies being set in the power BI configuration thus throwing error while logging into the  Application

No RepliesBe the first to reply

Resources