Forum Discussion
Error IDX21323: RequireNonce is 'True'.
Hi everyone,
I got a problem really hard to fix.
I'm using the "Embed for your organization" and the asp.net MVC code sample from the PowerBI website.
I have updated DLL from NuGet. Using Net 4.8
It worked perfectly in the development environment with the URL as localhost:443.
Until I changed the URL to the actual domain as "abc.com" and it worked on the Firefox browser but without Chrome (Version 103.0.5060.114 (Official Build) (64-bit)).
I have researched this problem and it related to the "samesite" problem for Chrome. The problem occurred only Chrome browser.
https://www.google.com/search?q=IDX21323&rlz=1C1ONGR_enVN978VN978&sourceid=chrome&ie=UTF-8
And I tried all the ways to fix it but still failed.
Has anyone encountered this problem and given me a solution?
Note: it worked with localhost and not working with the real domain.
Thank you very much!
2 Replies
- AnonymousNot applicable
Hi HungBI ,
Did you try the solution in the following link?
Troubleshooting IDX21323: RequireNonce is ‘System.Boolean’
Add this to Configuration() in Startup.cs:
AuthenticationType = “ApplicationCookie”,
CookieSameSite = SameSiteMode.None,
CookieSecure = CookieSecureOption.Always
And adding this to web.config:
<system.web>
<sessionState cookieSameSite=”None”/>
<httpCookies requireSSL=”true” />
</system.web>
Best Regards
- HungBIFrequent Visitor
Hi Anonymous
I have tried it, and "login.microsoftonline.con" accessed loop infinity.
in local, it still works perfectly.
I wonder if anyone has used "Embed for your organization" yet?
and will definitely face this problem.
Anonymous Can you make a request to the powerBI development/test as an issue emergency?
with details:
- Embed for your organization(asp.net, lastest updated libs, net 4.8)
- IIS
- has a real domain (such as: abc.com)
We will know the answer quickly.
Thank you.