so I am trying to use express as backend with passport for auth and nuxt for frontend.
My problem is, that when I go to http://localhost:8080/auth/steam it will redirect me to the login page (steamcommunity.com/openid/login), but when I click login nothing happens. It stays loading infinitely. When I tried this with pug it was working.
I tried to make the routes post instead of get and also I tried to use the servermiddleware in nuxt.config , but that just makes the nuxt app building infinitely.
Also when I made the callback route .post it loaded, with error no page found. So I think nuxt is trying to find a page to this route. Would it be possible for nuxt not try to render a page on this route?
Here is a link to full repository: https://github.com/Petko6/nuxt-app
I will be glad for any help. Thank you.