You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 13, 2025. It is now read-only.
Currently, when using the Challenge API, we have to:
Login with a service account
Upgrade the token to a v3 token
Only after that can we use the API.
Problem
The problem with that flow is that Auth0, the login provider, rate limits us, so we've been having issues where things aren't getting handled in Topcoder-X because the login flow is failing.
Solution
Topcoder APIs now support M2M tokens, so we are going to strip out the service account support and move to M2M tokens instead.
Current
Currently, when using the Challenge API, we have to:
Only after that can we use the API.
Problem
The problem with that flow is that Auth0, the login provider, rate limits us, so we've been having issues where things aren't getting handled in Topcoder-X because the login flow is failing.
Solution
Topcoder APIs now support M2M tokens, so we are going to strip out the service account support and move to M2M tokens instead.
The latest release can be found here:
https://github.com/appirio-tech/tc-core-library-js/releases/tag/v2.4
This isn't in NPM yet, so we'll have to update this as a git ref in the package.json.
Example
Example usage for token generation can be seen in the v5 sub api here
https://github.com/topcoder-platform/submissions-api/blob/develop/src/common/helper.js#L16
helper.js.zip
The text was updated successfully, but these errors were encountered: