M
M
Misha Shandra2019-06-13 19:02:03
User identification
Misha Shandra, 2019-06-13 19:02:03

Error with access token in Auth0?

Everything works correctly if I have a standard authorization page (authorization, registration, login with google and linkedin). But when I turn on 'Custom login page' authorization through google and linkedin starts to work incorrectly. In the database, Auth0 shows that the user is logged in, in the database too, but there is no idToken.
What do you think, how can I fix it?

Uncaught (in promise) TypeError: Cannot read property 'idToken' of null
    at AuthService.localLogin (authService.js?4c95:90)
    at eval (authService.js?4c95:53)
    at WebAuth.parseHash (auth0.min.esm.js?b0af:8)
    at eval (authService.js?4c95:43)
    at new Promise (<anonymous>)
    at AuthService.handleAuthentication (authService.js?4c95:42)
    at VueComponent.created (Callback.vue?295c:15)
    at invokeWithErrorHandling (vue.runtime.esm.js?2b0e:1854)
    at callHook (vue.runtime.esm.js?2b0e:4213)
    at VueComponent.Vue._init (vue.runtime.esm.js?2b0e:5002)

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question