GithubHelp home page GithubHelp logo

meanio-users's Introduction

README: meanUser

meanio-users's People

Contributors

adskjohn avatar adsklowenthal avatar jwebbdev avatar liorkesos avatar pashist avatar quentinhayot avatar timelf123 avatar vikramtiwari avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

meanio-users's Issues

Exception on login

When I login using Google auth, I get the following exception :

Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.
    at b64_to_utf8 (webpack:///./~/meanio-users/public/services/meanUser.js?:19:47)
    at MeanUserKlass.onIdentity (webpack:///./~/meanio-users/public/services/meanUser.js?:76:33)
    at eval (webpack:///./~/meanio-users/public/services/meanUser.js?:54:37)
    at processQueue (webpack:///./~/angular/angular.js?:16843:37)
    at eval (webpack:///./~/angular/angular.js?:16887:27)
    at Scope.$digest (webpack:///./~/angular/angular.js?:17982:15)
    at Scope.$apply (webpack:///./~/angular/angular.js?:18280:24)
    at done (webpack:///./~/angular/angular.js?:12378:47)
    at completeRequest (webpack:///./~/angular/angular.js?:12604:7)
    at XMLHttpRequest.requestLoaded (webpack:///./~/angular/angular.js?:12532:9)

If I replace

decodeURIComponent(escape(window.atob( str )))

by

(new Buffer(str, 'base64')).toString('utf8')

it fixes the issue.

Thank you !

$http(...).success has been removed from angular 1.6

the MeanUser angular service in meanUser.js uses $http(...).success instead of the promise form and was deprecated, and finally removed in angular 1.6.0. Currently linnovate/mean's bower.json uses latest of angular so this will cause new installs to start breaking.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.