Skip to content

[BUG] isLoggedIn() always returns false when using Oidc #1893

@Alexis-BX

Description

@Alexis-BX

Environment

Self-Hosted (Bare Metal)

System

Debian 12

Version

d947ed5

Describe the problem

In the src/utils/Auth.js:

From my experimentation, the isLoggedIn() function is broken when using Oidc auth. The function always returns false although I'm logged in as a Oidc user (can use the showForKeycloakUsers selector in the interface and logout).

I also have enableGuestAccess: false. Maybe there could be a first check in the function? If guests are false then return true?

This was tested with a statusMsg when debugging connections for #1823

Thanks for the great dashboard! :)

Additional info

Looking deeper, the underlying issue seems to be a lack of alternative auth support in getUsers

Please tick the boxes

Metadata

Metadata

Assignees

Labels

🐛 Bug[ISSUE] Ticket describing something that isn't working

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions