- I am creating an application in Azure tenant with Microsoft graph API. At the same time, I am also uploading a self-signed certificate/ Client secret for an application.
- The OAuth client can request an access token by providing the user assertion. User assertion is self-signed x509 certificate.
I am observing different behaviors when trying to get access token using user assertion:
When tried to get access token for an application after 7-8 hrs of registration process, I am able to successfully get the access token.
When tried to get access token for an immediately registered application, it fails with following "Invalid_client" error.
I am observing same behavior with client secret or self signed certificate. No Microsoft documentation is available around this.
Could anyone help me with the same?
Attaching the error screenshot.