-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chrome Extension + Twitter Login. Try to login everytime I ophen Chrome #41
Comments
Yes, I think you have a similar problem as @foobarbecue in issue #30 . If you still have issues, we can schedule a hangout and see if we can solve them. 😃 Cheers |
I should have mentioned. I went through thtat thread.
this.ddp.on('connected', =>
console.log 'Connected'
this.ddp.subscribe("meteor.loginServiceConfiguration").ready.then =>
this.ddp.loginWithTwitter()
)
this.ddp.on('login', (loggedInUserId) =>
console.log 'Logged, userId:', loggedInUserId
this.userId = loggedInUserId
) I think I've tried everything I could understand from issue #30 and examples. I'd love to schedule a hangout. Thanks! |
I may have figured it out. 😃 First of all, I'm assuming Hope this clears things up. If not, feel free to schedule a hangout, when I'm not asleep I'm more or less always available. 😄 Cheers |
Hey @pscanf,
|
Closing issue post-hangout. :-) Reopen if needed. |
For future reference: connectToMeteor: ->
this.ddp = new Asteroid("localhost:3000");
this.ddp.on('connected', =>
console.log 'Connected'
this.ddp.resumeLoginPromise.then( ->
console.log ('user is already logged in')
).fail( ->
this.ddp.subscribe("meteor.loginServiceConfiguration").ready.then =>
this.ddp.loginWithTwitter()
)
)
this.ddp.on('login', (loggedInUserId) =>
console.log 'Logged, userId:', loggedInUserId
this.userId = loggedInUserId
) |
Hi!
I've created a Chrome Extension, basically a background page that listens to a browser action (pressing on the extension icon). When that happens it send information about the page to the Meteor Backend.
The problem relies in the fact that everytime I open Chrome the background page logs in with twitter and opens a new tab in the browser.
Is there a way to do the login process in the backround? Or maybe store the credentials?
Am I explaining myself properly?
Thanks!
The text was updated successfully, but these errors were encountered: