Found that it was the audience parameter, I needed to add it to the getTokenSilently() too. Also needed to add it to PHP SDK decode audience parameter.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Authentication with SPA and API | 2 | 4064 | September 17, 2020 | |
Accessing both User Management API and custom API for SPA using Auth0 | 5 | 4076 | February 21, 2019 | |
401 "Bad audience:' when trying to access Management API | 19 | 20081 | October 5, 2022 | |
Best practices for validating access token and getting user info | 2 | 6147 | December 17, 2018 | |
SPA-Laravel: Management API best practices | 4 | 3088 | April 13, 2021 |