Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FormsAuthentication.RedirectFromLoginPage is Ok but need to refresh page #268

Open
researchyar opened this issue May 28, 2023 · 0 comments

Comments

@researchyar
Copy link

Hi all
I have setup Power BI Custom Security on the server.
When the system reaches the following line of code

FormsAuthentication.SetAuthCookie(@"administrator", false);

I get authenticated, but nothing special happens in Power BI on Iframe in my c# portal. in addition to

FormsAuthentication.RedirectFromLoginPage(@"administrator", false);

I tried but both need to refresh the page once to display the report. The next time it is refreshed, the Power BI report will be easily loaded on the screen It means that I am authenticated.

Maybe you can help me to solve my problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant