Skip to content

OpenID authentication broken after Spring Security Upgrade #1380

@cbellone

Description

@cbellone

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:)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions