Hmmm. Do you have any documentation from NextCloud for generic OIDC providers? FusionAuth usually works with generic documentation, so that might be a good place to start looking.
You can also enable debug on the FusionAuth application you are configuring and look in the event log to see if there is more information that might help you debug this issue.