Comments (2)
Hi @krissirk - I wanted to let you know that we've corrected the available scopes on the Bot Token so that it no longer incorrectly shows reminders:write
and reminders:read
. The docs are also corrected here and here.
Appreciate you surfacing this! I will go ahead and mark this as closed.
from slack-api-specs.
Hi @krissirk - You're right that the documentation in this case is incorrect. As you've pointed out, the reminders:write
scope (and the reminders:read
) scopes are available on User token types only and should NOT be available as a selection for the bot token in the App Configuration pages or listed in documentation.
I'll share this with the internal team to get these corrected and will report back if we're notified that the issue is resolved. Thank you for raising this and helping to make our public docs better! 🥇
Further, even when you do provide a User token and call the method via the Web API, the "Slackbot" is what adds the reminder in Slack, which is confusing.
It was confusing to me too at first as to why an app with User token scoped with reminders:write
wouldn't just post AS the user and I had to think a little about it:
One way I look at it is from the perspective of what the app installer has actually authorized. In this case, the user grants permission for the application to create reminders on their behalf. A narrow reading of that, says that the user doesn't give the bot permission to create reminders AS them or post under their identity.
Let us know whether that's helpful!
from slack-api-specs.
Related Issues (20)
- Get all the messages with replies HOT 4
- Enhancement request: OpenAPI 3.0 support
- "token" header parameter not actually required
- Incomplete "consumes" definition for chat.postMessage
- Specify token type(s) for API methods in the spec
- Event payload of the `message` event does not have a consistent schema (missing `team` property when message subtype is `file_share`)
- 85 validation errors reported in Swagger Editor HOT 2
- Mark Repo as Unmaintained HOT 1
- `team.billableInfo` is wrong
- Request-URI Too Large for views.publish
- "Objs_user" has it's properties in a list called "items" but this isn't the case for the API - lookupByEmail
- Incorrect schema for calls.add and calls.info
- Required parameters are not marked as required
- Missing email_password_policy_enabled in admin.users.invite parameters
- objs_messages schema is wrong
- objs_file's user_team is wrong
- objs_message's attachment says id should be required but it is not always present
- Spec version is out of date with what the api allows
- Add the ability to slack API to query saved messages
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 slack-api-specs.