Skip to content

[FEATURE] Allow to clear the user session without redirect #42

Description

@ms-emp

Description

I would like to force the user to re-login on app start even though the previous session has not expired yet.

Right now the only way to log out the user is by calling logout from AuthService which is doing a redirect in a browser window, but that's not what I want to do when the user opens the app, instead, I would like to clear the session from storage so the user must re-enter his credentials.

This will also resolve point 2 here

Proposed solution

Make removeUser from OIDCAuthManager public as well for ngx-auth.

Alternatives considered

No response

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions