Vuejs and nodejs


I did an application in vuejs and backend in nodejs, I’m trying to get the token in frontend but it’s impossible. I read the documentation a lot of time and in a lot of places have some different ways to do the some thing and all of them doesn’t work.
In one place tell to send a request to “https://domain/authorize” to get a code for send another request do “https://domain/oauth/token”, but doesn’t work. Someone have an idea how can I resolve this? Thanks.

Hi there @viko welcome to the community!

Have you had a chance to take a look at our Vue.js quickstart? This is probably a good place to start in terms of a working example to compare/contrast against.

Hope this helps, and let us know if you have any follow up questions!

Man, thanks for your help, but I read a lot of things… Doesn’t have a simple way to do this, I got it last night, when I made a lot of tests, trying every f*** method… In doc says to use the method .getTokenSilently(); but it wasn’t the real accesstoken. So, after a lot of tests, in method: getIdTokenClaims(), the accesstoken come in a __raw propertie, and now it’s working.


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