Hi all,
I need help with a Nuxt.js based frontend, which should use OAuth2 authentication code flow for authorization. Basically I don't want to u...
For further actions, you may consider blocking this person and/or reporting abuse
I've managed to use the Nuxt.js axios module now. I got rid of the internal server error. However, axiom for instance doesn't seem to use the baseURL specified.
Hi
I am not a vue expert and I have started to use vue very recently (switched from ng 1). But I also gone through the same type of issues and most of the time I had no clue over certain errors.
** Changes to nuxt.config.js wont be detected until you restart the prcoess.
P.S.
I would highly recommend the dotenv module for easier env level configurations
github.com/nuxt-community/dotenv-m...
Okay, Update: I had to add the browserBaseURL:
browserBaseURL: '127.0.0.1:9443'
However, the strange thing is
This somehow produces an OPTIONS HTTP-request instead of a GET HTTP-request.
It seems the whole axios module configuration isn't recognized:
And request is sent to localhost:3005 instead with headers:
Code is simply:
Yes: github.com/sirixdb/sirix-web-front...
Yeah, I'm trying to learn Nuxt.js, Vue.js, TypeScript and D3.js, but I'm eager to learn :-)
Mhh.. couldn't find anything odd (but I am not familiar with TypeScript (ES only)
Here is my working setup (minimal code)
gist.github.com/zspine/efa32262b12...
Hmm, does someone, know why the host could not be resolved when the Vert.x server redirects to Keycloak?
keycloak:8080/auth/realms/sirixdb/...
At least in the docker network it is for instance reachable by the server service (Vert.x based HTTP-Server), but not from the "frontend backend server", that is Node.js.
My docker-compose file:
I've added a section in the README how to set things up with docker-compose...