Last month the RFC9728 has been released. It allows resource providers to give information about itself, and notably about which authorization servers it will accept tokens.
This is a great tool to help discoverability of services, this might help in situations like the OAuth support for Nextcloud in GNOME.
I suggest to implement RFC9728 in nextcloud-oidc-login.
Related OpenID-Connect-PHP ticket