Prerequisites
Describe the issue
I was trying to just replicate the simple m2m token. Following the instructions
It was just failing.
That was actually because infra sdk has changed and this example wasnt updated.
So i updated my self, now it is called m2mTokenClaims to be imported.
With that sync error gone, tried the trigger running.
But then fetching:
M2M token generation trigger fired
Workflow found
JavaScript execution started…
Warning
workflow run skipped for the management API token, please remove management API audience from request to be able to run this workflow
Just skipped as is uses an M2M to access kinde API, just as mentioned in the example.
This is a real use case, how would that suppose to be, if i want to enrich my API with info from KindeAPI data return?
Starter kit URL
https://github.com/kinde-starter-kits/workflow-examples/blob/main/m2mToken/mapOrgToM2MApplicationWorkflow.ts
Operating system(s)
macOS
Operating system version(s)
macOS Catalina 10.15.7
Further environment details
Postman issue like:
curl --location 'https://bitbirder-rhinoceros.us.kinde.com/oauth2/token' \
--header 'content-type: application/x-www-form-urlencoded' \
--data-urlencode 'grant_type=client_credentials' \
--data-urlencode 'client_id=***' \
--data-urlencode 'client_secret=***' \
--data-urlencode 'audience=https://***.us.kinde.com/api'
Reproducible test case URL
just run the example as workflow, fixing the m2mTokenClaims import
Additional information
No response
Prerequisites
Describe the issue
I was trying to just replicate the simple m2m token. Following the instructions
It was just failing.
That was actually because infra sdk has changed and this example wasnt updated.
So i updated my self, now it is called m2mTokenClaims to be imported.
With that sync error gone, tried the trigger running.
But then fetching:
Just skipped as is uses an M2M to access kinde API, just as mentioned in the example.
This is a real use case, how would that suppose to be, if i want to enrich my API with info from KindeAPI data return?
Starter kit URL
https://github.com/kinde-starter-kits/workflow-examples/blob/main/m2mToken/mapOrgToM2MApplicationWorkflow.ts
Operating system(s)
macOS
Operating system version(s)
macOS Catalina 10.15.7
Further environment details
Postman issue like:
Reproducible test case URL
just run the example as workflow, fixing the m2mTokenClaims import
Additional information
No response