mirror of
https://github.com/OAuthSwift/OAuthSwift.git
synced 2026-04-26 20:55:57 +03:00
[GH-ISSUE #687] does Slack api return User Token? #445
Labels
No labels
bug
cocoapod
duplicate
enhancement
feature-request
help wanted
help wanted
invalid
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/OAuthSwift#445
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @vincent-k-sm on GitHub (Dec 10, 2021).
Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/687
Description:
OAuth Provider? (Twitter, Github, ..):
Slack
OAuth Version:
OS (Please fill the version) :
Installation method:
Library version:
Xcode version:
11.4 (Swift 5.2)
11.x (Swift 5.1)
10.x (Swift 5.0)
other: (Please fill in the version you are using.)
objective c
i succeed for bot access token by prefix
xoxbbut how can i get User OAuth Token prefixxoxpplz help :(
ps. demo need update to v2
i found result in https://api.slack.com/methods/oauth.v2.access
and my scope is
"channels:history,channels:read,chat:write,groups:read,im:history,im:read,mpim:history,mpim:read,users:write,channels:history,channels:join,chat:write,chat:write.customize,groups:history,im:history,mpim:history,im:read,mpim:read,groups:read,channels:read"@vincent-k-sm commented on GitHub (Dec 10, 2021):
update :
it comes
xoxp-when authorizeUrl inithttps://slack.com/oauth/v2/authorize?user_scope=identity.basicmaybe
OAuthSwiftCredentialmodel has to update?