acemtp / meteor-accounts-slack Goto Github PK
View Code? Open in Web Editor NEWLogin service for Slack
License: MIT License
Login service for Slack
License: MIT License
I have login-via-Slack set up on a local computer. Every time I login (the same) user via a Slack group, however, the same new user is created. :/
Noticed after checking:
meteor mongo
db.users.find({}).pretty();
Hi
Getting this error
OAuth error: invalid_scope: is an invalid scope
in this http call:
As stated in docs scope is optional, but maybe something changed. Seems like scope is required now..
FYI. Good package
Hi, I'm seeing the client ID as undefined on the client when deployed. It seems to be working on localhost, but once deployed something seems to break.
I don't have much information besides the response on the pop-up:
OAuth Error: invalid_client_id
And on the URL the clientID var is equal to undefined.
Any idea how we can debug this?
Thanks
Is it possible to pass some extra data as parameter during Meteor.loginWithSlack(), which could be accessible in Accounts.onCreateUser options?
I mean something like:
// client
const someData = "I want to get it from Accounts.onCreateUser";
Meteor.loginWithSlack({
someData: someData
})
// server
Accounts.onCreateUser(function (options, user) {
console.log(options.someData); // "I want to get it from Accounts.onCreateUser"
});
@acemtp Can we do this?
Connecting to slack without the right scope, eg: channels:read
or channels:history
could be frustrating.
We should be able to Slack.configure(['channels:history','channels:read'])
and login.
I haven't looked at your source, but Slack is not properly exported, at least not in the way that @yubozhao library https://github.com/yubozhao/meteor-link-accounts is using meteor-accounts-slack.
Attempting to use meteor-accounts-slack with meteor-link-accounts throws, Slack is undefined...
Maybe have a look at @dfischer fork of your repo, he at least fixed the export issue such that his fork works with meteor-link-accounts.
My user object is only being populated with services.slack.id
and services.slack.accessToken
how to get all the other ones defined here:
https://github.com/acemtp/meteor-accounts-slack/blob/master/slack_server.js
?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.