README: meanUser
meanio-users's Introduction
meanio-users's People
Forkers
jwebbdev pashist vikramtiwari gowrishankargeek nidhinprath ideawake clowenhg autodesk-forks saeed68gm kwakuzigah adskjohn ratulcse10 quentinhayot lsrodrigues saranpal hackathorg sinmsinm malefiky elday12 dukfaarmeanio-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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.