getTokenSilently() fails with /token call

We are trying to integrated SDK auth0-spa-js (1.12.1) and trying to call getTokenSilently().
while calling getTokenSilently() we notice that in networks tab (chrome) we get /authorize call and then /token call.

/authorize is getting call successfully but /token call is failing without any error.

Hi @snehal.libra,

This can happen if a public client (e.g. a SPA) has the “Token Endpoint Authentication Method” set to anything but “None”. This is automatically set correctly if the “Application Type” is set to “Single Page Application”

Is your app configured as a SPA?

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.