Skip to content
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

login with Meteor Accounts of another meteor custom app #1422

Closed
babnik63 opened this issue Nov 16, 2015 · 4 comments
Closed

login with Meteor Accounts of another meteor custom app #1422

babnik63 opened this issue Nov 16, 2015 · 4 comments
Milestone

Comments

@babnik63
Copy link

Is there any way to login to rocket chat by help of another meteor app account provider?
I have a web-app with lots of users. so I'm going to deploy rocket chat on that server and I need to give my custom app users access to Rocket Chat app. can you give me some guidelines?

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@geekgonecrazy
Copy link
Contributor

There may be some way to do this with a meteor package. But oauth seems to be the best way to do this.

@engelgabriel
Copy link
Member

If you are sharing the same DB, all you need to do is to make sure that your users get the property role added to them when they are created.

Also, you need to share the Meteor Login State Between Subdomains:

https://kadira.io/blog/meteor/sharing-meteor-login-state-between-sub-domains

@marceloschmidt marceloschmidt modified the milestone: 0.38.0 Sep 5, 2016
@harishreddy-m
Copy link

I am using kadira's login state package.
We are supposed to configure domain and cookie name in settings.json.
But rocket chat doesn't have settings.json
Where does rocket chat pick Meteor.settings.public from?
If I can add domain,cookie name to Meteor.settings.public login-state package can handle rest.

My other app is storing the cookie as described in above blog post.But rocket chat is not reading it.
My apps are running at

  1. myapp.domain.com
  2. chat.domain.com --> rocket chat

@harishreddy-m
Copy link

harishreddy-m commented Nov 4, 2016

I tried with creating new settings.json file and passing it to meteor run
meteor --settings settings.json

Didn't work.
Not sure if the problem is on Rocket chat end or kadira:login-state

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants