Open Closed

Weird auth problem on opera and iphone browsers #1443


User avatar
0
berkbadem created

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.

image.png

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)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    but its not working on opera and browsers on apple devices.

    Can you share the version info of browser?

  • User Avatar
    0
    berkbadem created

    image.png

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer
  • User Avatar
    0
    berkbadem created

    image.png

    Same problem persists after recommended fix

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Can you test your browser via https://samesite-sandbox.glitch.me/ then share the results?

  • User Avatar
    0
    berkbadem created

    image.png

    i tried to manipulate output cookie and i removed httponly and set SameSite to Unspecified still cookie not set

  • User Avatar
    0
    berkbadem created

    Opera on win 10x64 :
    image.png

  • User Avatar
    0
    berkbadem created

    safari on ios :
    image

  • User Avatar
    0
    berkbadem created

    Firefox on ios :
    image

  • User Avatar
    0
    berkbadem created

    Brave on ios :
    image

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Can you add your browser's userAgent in DisallowsSameSiteNone(string userAgent) method?

    They does't recognize SameSite=None;

  • User Avatar
    0
    berkbadem created

    image.png

    image.png

    image.png

    No luck, i even tried return true alwas but no luck.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    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

  • User Avatar
    0
    ServiceBot created
    Support Team Automatic process manager

    This question has been automatically marked as stale because it has not had recent activity.

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.3.0-preview. Updated on April 11, 2025, 10:10