Any database requirements in my homelab are filled by PostgreSQL, using pgAdmin to manage it. pgAdmin can be setup to utilise OAuth2 for authentication and my current Authentication provider is Zitadel - a great open source identity platform.
Recently OAuth2 authentication failed - seemingly caused by a recent version of pgAdmin (though it could also be a newer version of Zitadel). When logging in, the following error message was shown:
{"success":0,"errormsg":"'NoneType' object has no attribute 'is_active'","info":"","result":null,"data":null}
The resolution was within the project within application setup in Zitadel to handle the authentication, to select ‘Include user’s profile info in the ID token’ under Token Settings

After changing this and saving I was able to log in sucessfully.