Skip to content

Detect if user is already logged in at other domain with the same IDP #1030

Closed
@janverhoeckx

Description

@janverhoeckx

Hello,

Is it possible to check if the user is already logged in at another domain with the same IDP or else stay unauthenticated? When I invoke the "initCodeFlow()" function, the user is send to the IDP login page and redirected automatically if already logged in. However, when the user is not already authenticated the IDP login page requests the user to login. In this case, I want the user to be redirected to the application.

I have tried the "loadDiscoveryDocumentAndTryLogin()" method, but then the user remains unauthenticated.

Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFor tagging support requests and general questions.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions