Skip to content

Linkedin logout issue #1192

@inovatrik-akhil

Description

@inovatrik-akhil

I’m using this package to implement LinkedIn login, and I’ve run into an issue when trying to switch user accounts.
If an existing LinkedIn session is active, attempting to sign in again does not show the LinkedIn login screen. Instead, it automatically logs in with the previously authenticated user.
I’ve tried logging out using the following code:

await HttpContext.SignOutAsync(CookieAuthenticationDefaults.AuthenticationScheme);

However, this does not seem to log the user out of LinkedIn, and the same account continues to be used on subsequent login attempts. Is there a recommended way to fully sign out or force the login prompt to allow account switching?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions