Comments (7)
+1
from angular-google-plus.
Hey @dalper02, can you may provide a plnkr for this ?
from angular-google-plus.
@mrzmyr , I can do that. Will take some bit of work b/c I have to create another app for the domain.
I wonder if you really need one. I added nothing special to your code. I simply glimpsed the authResult after GooglePlus.login().
If you want to confirm it on your own dev env, just try failing and then succeeding and check the authResult. Then log in and succeed. If I'm right, authResult will resolve to Reject. Then succeed a second time and you will see correct result.
I'll let you know when I have it a plnkr.
from angular-google-plus.
Hey @dalper02, i moved the $apply
method in this fix: 94a7404.
You can just try it by replacing the URL in the current example plunkr with https://rawgithub.com/mrzmyr/angular-google-plus/development/dist/angular-google-plus.min.js
from angular-google-plus.
I've been testing with the new angular-google-plus.min.js on my own app. The problem continues.
I thought it may be because I was using
prompt: 'consent',
as login option (commenting out //immediate: false,) to force the user to accept everytime
But when I removed that, still same error.
You assume its an apply() problem, not a caching problem?
from angular-google-plus.
@dalper02, can you confirm the #9 PR is fixing your problem ?
from angular-google-plus.
Sorry about delay. Works perfectly.
from angular-google-plus.
Related Issues (20)
- OAuth fails after application times out HOT 2
- Options global variable must be inside module definition
- signout causes error
- How to restore the session when the page is refreshed HOT 2
- angular-google-plus improperly deals with logging out of Gmail HOT 2
- I keep receiving gapi is not defined error. HOT 4
- Bower Version Appears Different HOT 1
- logout seems not to function HOT 2
- Set Language HOT 1
- I should be able to access refresh token HOT 1
- Not able to get email address HOT 2
- I there any way to check if user is already authorized or not? HOT 3
- Is it a good idea to use client secret in front end JavaScript code? HOT 1
- Not able to fetch all the user related information like (mail di) HOT 6
- GooglePlus.logout() is not working HOT 1
- Injection error HOT 2
- Get extra fields like placesLived or birthday HOT 1
- How can i use in Angular 2 apps
- Update `main` in package.json
- Only load the google client.js script if gapi is undefined
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.
from angular-google-plus.