I am currently using my free subscription and trying to get the access token via the client credential flow.
For this I am using the pre-packaged oauth API that comes along with free subscription.
Here is my set up
- The oauth API is deployed in both test and prod environment
- I have created one more API “helloNode” and deployed only to “test” environment
- For this API I have created a product call “helloNode Product” which is enabled only for “test” environment.
- I have created an App to use this “helloNode Product”
- Now, I am using the app client id and secret to make an access token call to oauth API with “prod” environment URL
As per my understanding it should fail to generate the access token, but it provides an access token. What am I missing here?