Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upPossible Unhandled Promise Rejection: Error: Authentication failed #113
Comments
|
Getting the exact same error here but with the Google API. |
|
Thanks for reporting this. Can you inspect response you get because, since error is thrown in |
|
@dgrubelic can't reproduce it now, sorry. |
|
Thanks for getting back so quickly @dgrubelic herewith my server response and herewith the error i receive herewith my handler I must add that im using laravel passport in conjunction with socialite, everything is working perfectly on the server side its just when returning the token that things fall over in the "then" of the promise. |
|
@billowapp Have you changed you token name in provider configuration? https://github.com/dgrubelic/vue-authenticate/blob/master/src/options.js#L26 |
|
@dgrubelic the token name was the issue, thanks so much for the assistance. |
|
@billowapp Where can I change the token name and how does a token name look like? |
|
@Justinio99, you'll see in the response screenshot i posted above that it was sending me back a |
|
@billowapp i don't know why, but we don't get a response |
|
@solidevolution please can you explain how you get response from
Error: Authentication failed |
|
@diadal we use https://github.com/requests/requests-oauthlib. |
|
this solve my issue I create new package for laravel Vue (SPA) it work anyone can give it try |
|
@diadal perfect, good work. |
|
I think you need to set 'p_token' to "tokenPath" in provider config like this |





Since today, i got the following error in my develop system (docker, webpack, vue-cli)
It still works on production, the only difference from dev system is:
Here more information about the error:
The only thing that changed:
https://developers.facebook.com/blog/post/2017/12/18/strict-uri-matching/
https://developers.facebook.com/docs/facebook-login/security/#strict_mode
But I integrated the URIs for strict mode already in december.