I found the issue, in their documentation Call Your API Using the Authorization Code Flow it doesn’t require you to pass client_secret but it is needed when you do request for a refresh_token. Found it here Use Refresh Tokens in Node.js (and axios): Receiving 401 error (access_denied, Unauthorized)
carloa
2
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Getting "access_denied" when calling for a refresh token on "oauth/token" | 5 | 4207 | August 30, 2019 | |
| Auth0 Is returning invalid Refresh tokens | 4 | 204 | August 18, 2025 | |
| Cannot refresh token with node.js SDK - 401 access denied | 4 | 3963 | July 3, 2019 | |
| Oauth/token not returning refresh token | 10 | 29471 | August 29, 2023 | |
| Get new Access Token using Refresh Token in resource owner password flow | 5 | 2292 | August 8, 2023 |