We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b89139 commit 08ae11dCopy full SHA for 08ae11d
src/user.js
@@ -151,7 +151,7 @@ export default class User {
151
claims = JSON.parse(urlBase64Decode(tokenResponse.access_token.split(".")[1]));
152
this.token.expires_at = claims.exp * 1000;
153
} catch (e) {
154
- console.error(new Error(`Gotrue-js: Failed to parse tokenResponse claims: ${tokenResponse}`))
+ console.error(new Error(`Gotrue-js: Failed to parse tokenResponse claims: ${JSON.stringify(tokenResponse)}`))
155
}
156
157
0 commit comments