-
-
Notifications
You must be signed in to change notification settings - Fork 370
Closed
Labels
Description
Discussed in #1379
Originally posted by @TheKrystek July 16, 2024
Hi, I've been struggling to setup authentication for public users. I'm using keycloak and alfio is started in dev mode (backend running on 8080 and frontend on 4200).
I can create an account, then login, then BaseOpenIdAuthenticationManager.createOrRetrieveUser returns valid authentication. However when request is sent from angular app /api/v2/public/user/me to obtain user's identity object Authentication principal is always null. Since as far I can tell everything on keycloak side looks alight I suspect there might be something wrong/missing with alfio itself.
I'd gladly get some pointers:)