Skip to content

Logout User #2

@msd86911

Description

@msd86911

Current if user logged in even if the application closed his session still saved in browser cookies.
Client application will operate even without credentials so I think it is better to implement a logout function like below:

public void EndImplicitGrant()
        {
            // Clear existing token
            AccessToken = "";
            // Navigate to the logout URL
            this.Navigate($"https:\\\\login.{Environment}/logout?client_id={ClientId}&response_type=token&redirect_uri={RedirectUri}");
        }

Also Browser form could use something similar to ShowImpl(bool dialog, IWin32Window owner = null) to logout.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions