Hi, I was tracing your issue quickly and I see you are encountering an issue with error code AADSTS700025,the error in general talks about while using the auth code grant authentication flow with PCKE it's not allowed to provide client secret or client certificate in the authentication flow, usually for SPA and native apps, much context is needed about the scenario you are trying to implement, As this need diagnosis and further troubleshooting , however please review below details for your issue.
You can read more about the authentication flow you are implementing here:
Microsoft identity platform and OAuth 2.0 authorization code flow : https://learn.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-auth-code-flow
Our official repos and code examples : https://learn.microsoft.com/en-us/azure/active-directory/develop/sample-v2-code