Mean Stack simple application login with google and apply local strategy both


login with google and local strategy apply doth are implement in mean stack 

application must inclune bunyan logger 

Solutions (1)
  • Sudarshan Vishwakarma 2 years, 1 month, 3 weeks, 5 hours, 19 minutes ago

    use local storage after success full login then set success response like


    let data ={

    then check ngOnInit function local storage exist or is null

       if(localStograge.setItem("user-data") && JSON.Parse(localStograge.setItem("user-data")).id){
          // manage if condition
         // manage else condition

Your Answer To Login
Add Answer