Setting up OIDC for Mastodon with Pocket ID

Setting up Pocket ID as an OIDC provider for a self-hosted Mastodon instance, including the undocumented settings needed to link an existing account without locking yourself out.