Closed junowilderness closed 3 years ago
In short, User implements SamlUserInterface but it is not a Doctrine Entity.
Hi, it seems there is a bug here: https://github.com/hslavich/OneloginSamlBundle/blob/7038f6e617c1a4d54bb1a47b1e106fc28d85f248/Security/Http/Authenticator/SamlAuthenticator.php#L141
User should be persisted only if $this->options['persist_user']
is true.
This will be fixed soon
Could you edit this and confirm if this fix your error?
Thanks
@hslavich I patched with #169 and it looks good now.
@hslavich I think we should separate the new user persistence and the persistence of existing user after setSamlAttributes.
Hi there,
Do you plan to push the fix on the v1.5 ? There is the same issue on the v1.5.3
@yalefresne this bug will be fixed in both branches (1.x and 2.x).