tomastrajan / angular-ngrx-material-starter

Angular, NgRx, Angular CLI & Angular Material Starter Project
https://tomastrajan.github.io/angular-ngrx-material-starter
MIT License
2.82k stars 918 forks source link

Authentication example [feature request] #463

Open gaspo53 opened 5 years ago

gaspo53 commented 5 years ago

First of all, THANKS A LOT for this huge piece of great work!!!! Honestly, really appreciated. What I'm suggesting is for you guys to add an Auth form (login), and mostly an example hitting an Oauth2 backend to perform a login.

Thanks

tomastrajan commented 5 years ago

That would be a nice addition, PR maybe ? 😉

GuateDevIO commented 5 years ago

I am working to integrate Firebase Authentication to this project. If interested I can submit a PR once I am done with the revisions and tests.

tomastrajan commented 5 years ago

Hi @GuateDevIO yes that would be great!

countrdd commented 5 years ago

@GuateDevIO - I would be very interested in this as well.

ramax495 commented 5 years ago

Any updates on this topic ?

GuateDevIO commented 5 years ago

I am migrating my projects to Angular 8 and I believe Tomas is also doing the same with this project. I think it will be better to wait for the upgrade to be done and then I can possibly submit a PR for the Authentication. Also I think its a great moment to introduce Nestjs to this project. I started using it recently and I am very impressed. Due to my new job it may take me some time to get this done hence anyone is welcome to submit a PR for this. Thanks.

tomastrajan commented 5 years ago

@GuateDevIO the Angular 8 migration is finished, an richer auth example would be nice but would prefer to keep it simple and NOT introduce nestjs ( even though I am a big fan! ) to keep both the starter and the deployment process simple. Current deployment to github pages would not be enough for node backend.

Anyway a nice login page with either simulated login or against some free API would be nice!

kasparov112000 commented 4 years ago

Tomas, and everyone else, thank you!!!!!!! I am almost done with the auth for graphqll for my project...should I submit a PR? Maybe as a feature

tomastrajan commented 4 years ago

With auth it is complicated, you usually need some kind of server right ?

This starer is deployed to GH pages so there is no possibility of having backend, so it is hard to imagine how to make this work frontend only so that when people clone this project then it just works as expected... ideas?

kasparov112000 commented 4 years ago

How about a heroku version?

twindual commented 4 years ago

Using Google Firebase Auth would be a good solution to this issue, should be no trouble deploying to GH.

One still needs to configure the Firebase project however.

parthnayak7448 commented 4 years ago

Any update guys on login page example? @tomastrajan

daboudii commented 4 years ago

For those who are seeking a good example of Auth with ngrx check this repo: https://github.com/samjulien/nostalgia-mart