I think the authorization request must have scope=“openid profile email” to work correctly
Try upgrading to the latest WebUI version.
If the problem persists, make sure PocketId is advertising profile and email in the supported_scopes field of the OIDC discovery document.