witoldsz / angular-http-auth

MIT License
2.37k stars 416 forks source link

login address returns 404 after 401 intercept #115

Closed wallstudios closed 8 years ago

wallstudios commented 8 years ago

I have another odd one. If I call a page that requires authentication http-auth intercepts it correctly and it calls my login modal. When I submit my details I get a 404 from the server but if I click "login" the second time it works as expected.

If I go directly to the login it works every time.

Would my original 401 be adding something to the headers that is causing my issue?

thanks.

witoldsz commented 8 years ago

There is no way anyone here could possibly guess. You have to debug it, just look what exactly goes through the wire.

witoldsz commented 8 years ago

Please reopen if you have some new data.