Skip to content

Auth pages with auto render mode in blazor #61476

Open
@MahdiElahi

Description

@MahdiElahi

I want to build a Blazor 8 or 9 project using Interactive Auto . But I want to implement authentication using JWT or identity , so that whenever I want, I can show the login page inside a modal or elsewhere.( without refresh page or ... )

Because I've tested it before — when using a modal and trying to use SignInManager.SignIn inside the login component, it throws a 'headers are read-only, response has already started ' error and doesn't let it work.

I've seen many websites that show auth modals anywhere without refreshing the page, and it works fine.how to do it ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-identityIncludes: Identity and providers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions