Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
feathers-authentication errors with any view error, and redirects to /auth/failure #381
Steps to reproduce
First off, my apologies if this is just my ignorance of the feather ecosystem and architecture. Oer perhaps is a configuration option. Seems odd though, not sure how to resolve.
Add feathers-authentication service to your app.
Set a view engine.
Cause any sort of error in your view logic. In the case of jade, reference an object that doesn't exist. Or pick a view engine that you don't have installed, which is what I did for this example.
A normal/general feathers 500 error, or stack trace with error relating to the view engine. Here is example with a missing view engine (handlebars)
feathers-authentication for thinks this is an authentication error, and redirects to /auth/failure. From debug log:
I 'upgraded' trying to use migration guide, but have some more work to do to get authentication working again (not super familiar yet with Feathers).
I was using the generated boilerplate. Any ideas when the "feathers generate" will use feathers-authentication 1.0.0?