I am trying to open my page in iframe with authentication. It works perfectly for chrome, mobile browsers etc. but its not working on opera and browsers on apple devices.
As i check browser prevents to set cookie after authentication.
My cors :
private void ConfigureCors(ServiceConfigurationContext context, IConfiguration configuration) { context.Services.AddAntiforgery(x => x.SuppressXFrameOptionsHeader = true); context.Services.AddCors(options => { options.AddPolicy(DefaultCorsPolicyName, builder => { builder .WithAbpExposedHeaders() .AllowAnyHeader() .AllowAnyMethod() .SetIsOriginAllowed(origin => true) .AllowCredentials(); }); }); }
14 Answer(s)
-
0
hi
but its not working on opera and browsers on apple devices.
Can you share the version info of browser?
-
0
-
0
hi
Can you take a look at this?
https://community.abp.io/articles/patch-for-chrome-login-issue-identityserver4-samesite-cookie-problem-weypwp3n
-
0
-
0
hi
Can you test your browser via https://samesite-sandbox.glitch.me/ then share the results?
-
0
-
0
-
0
-
0
-
0
-
0
hi
Can you add your browser's
userAgent
inDisallowsSameSiteNone(string userAgent)
method?They does't recognize
SameSite=None;
-
0
-
0
i even tried return true alwas but no luck.
What's is results now?
https://samesite-sandbox.glitch.me/
Can you share your website url and user&password with me? liming.ma@volosoft.com
-
0
This question has been automatically marked as stale because it has not had recent activity.