5.0-dev
When logging in with invalid credentials, a 400 code should be thrown with a message from the authentication server.
A 500 (NuxtServerError) is being returned

Using the current 5.x beta build and running into this issue. Using the Nuxt Axios module with proxy enabled and SSR. Every failed login results in a NuxtServerError being returned to the app and an exception being thrown instead of the excepted 4xx failed login response sent from the Passport instance we're trying to authenticate with.
Hi @aaronhuisinga! Thank you for your report. I'll work on a fix for this issue :)
Hi @aaronhuisinga! The fix for this issue has been merged :)
Please update the package to the latest version 5.0.0-1588537732.a13c02f
Thanks so much! Just tested it out and it鈥檚 working as expected.