Custom Auth 2.0 ISSUE

Hi

I have created an azure OAuth 2.0 and I can successfully access the access token

Now we have a requirement to access the auth token commonly in other resources too, so I am using custom auth 2.0, and exact data are added from the previous configuration, but for custom auth I am getting an error

Error : Misconfigured application. This could be due to one of the following: the client has not listed any permissions for 'AAD Graph' in the requested permissions in the client's application registration. Or, the admin has not consented in the tenant. Or, check the application identifier in the request to ensure it matches the configured client application identifier. Or, check the certificate in the request to ensure it's valid

Do you have any idea regarding this?

Hello! This looks to be a an Azure specific error relating to the Issuer attribute being sent not matching the identifier value. More on that here

Error AADSTS650056 - Misconfigured application | Microsoft Learn

That links has steps from Microsoft to resolve this. Let me know if this helps!