FireUser icon indicating copy to clipboard operation
FireUser copied to clipboard

Create redirect service

Open Jon-Biz opened this issue 10 years ago • 4 comments

This needs an easy way to redirect users based on login

Jon-Biz avatar Jan 30 '14 22:01 Jon-Biz

This is working in the redirect branch.

Jon-Biz avatar Feb 12 '14 00:02 Jon-Biz

Pushed in release v.0.4.0 a135497941c55c6d857de100705ceb8a61928af8

Jon-Biz avatar Mar 17 '14 22:03 Jon-Biz

Hey man, I'm confused about why it's not working for me https://github.com/MattCowski/angular-starter-kit/blob/cd2ff4098514e29b28a5d4675289cb9df147139a/app/js/app.coffee

redirectPath is the route it should go upon login, right? It's not working for me.

MattCowski avatar Jul 20 '14 03:07 MattCowski

It looks like I missed a change in the behaviour of $firebasesimplelogin, which now does not take an options argument, which means that the redirect needs to be done by fireuser.

Ok, I see what needs to be changed, I'm going to sleep on it, and push a fix tomorrow.

Jon-Biz avatar Jul 24 '14 01:07 Jon-Biz