[OpenID Connect] Unable to create a user when email claim is null
Affected version : 6.0.0.RELEASE
Steps to reproduce
Difficult to reproduce with common IDPs, this issue occurred for a user using a custom-made IDP not entirely matching OIDC specifications.
- Have an IDP that provides a token with an "email" claim whose value is null
Expected result
A user is created and logged in.
Observed behaviour
An NPE occurs and error page appears.