I am facing an issue while calling the getAccessTokenSilently method. The token is generated successfully, but the process does not move to the next step. Here is my code for your reference. If I remove this method, it works, but I need a new token to update my data. This issue only occurs when running the build version; it works correctly on my localhost.
Checklist
Description
I am facing an issue while calling the getAccessTokenSilently method. The token is generated successfully, but the process does not move to the next step. Here is my code for your reference. If I remove this method, it works, but I need a new token to update my data. This issue only occurs when running the build version; it works correctly on my localhost.
Reproduction
Step 1 : Register Custom Page
Additional context
No response
auth0-react version
2.2.4
React version
18.2.0
Which browsers have you tested in?
Chrome