Skip to content

After running the project with https and logging in to the account, stop and run the project again with http, unable to log into account in Safari browser on Mac OS. #59216

Open
@Rita003

Description

@Rita003

INSTALL STEPS

  1. Clean machine: Mac OS
  2. Install SDK 8.0.404

REPRO STEPS

  1. Create a MVC InAuth project in CLI
dotnet new mvc --auth individual -o MVC1
cd MVC1
  1. Run the project with https in CMD, and open URL in the Safari browser
    dotnet run -lp https
  2. Register and login account in the web page, close the browser and stop debug
  3. Run the project with http in CMD, and open URL in the Safari browser
    dotnet run
  4. Register and login account in the web page

Note:

  1. This issue only repro on Safari browser, this issue not repro on Edge browser.

ACTUAL
It can't register and login account
Image

Workaround

  1. Open Safari Settings > Click "Manage Website Data" in privacy page > Click "Remove All" to clear the localhost cookie history, then register and login account again

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions