auth0-blog / angular2-authentication-sample

This is a sample that shows how to add authentication to an Angular 2 (ng2) app
MIT License
966 stars 334 forks source link

Signup not working #4

Closed Foxandxss closed 9 years ago

Foxandxss commented 9 years ago

Hey Martin, how are you mate?

I love JWT and I try to spread its love as much as possible and this first glance of JWT with Angular 2 is awesome (still too much boilerplate, but awesome nonetheless).

That said, the signup route doesn't work and I hate when I cannot send a PR to fix it because well, I have no clue. Everything seems to be in order.

There is a typo though (PR incoming) but that doesn't fix it.

I also created a KOA backend for the demo (to practice it) and it ended really cool (I can put it on github if you want).

Gracias.

PatrickJS commented 9 years ago

the problem is partly due to the router

Foxandxss commented 9 years ago

I am digging all I can to figure how what's happening. It is not routing anything really. You can't go /login nor /signup.

PatrickJS commented 9 years ago

@Foxandxss the signup link should work now. The state is managing in memory since the location service that manages the url isn't merged yet