Custom OpenID Connect not working

Hey,

I am currently trying to use the authentication solution Logto as a way to authenticate myself to my homelab. This has worked before, but I had to reinstall all my services and that caused me to also have to reinstall Logto. I have that setup now, but I cannot manage to add it as an OpenID Connect authentication method.
It gives me the following error message:

Authentication Error
Failed to fetch user/group information from the identity provider 

I have added the cloudflare redirect to the client and these are my settings in Cloudflare:

I have tried it with and without specifying OIDC claims, but neither works.

Does anybody have an idea how to fix this?

Kind regards,
Bram

BTW I also tried using https://openidconnect.net/ and there it works perfectly fine

The issue is that offline_access is not provided as a scope, so no refresh tokens will be returned…