Skip to content
This repository was archived by the owner on Apr 12, 2023. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/slack_sign_in.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
module SlackSignIn
DEFAULT_SCOPES = %w[identity.basic identity.email identity.avatar]

AUTHORIZE_URL = "https://slack.com/oauth/authorize"
TOKEN_URL = "https://slack.com/api/oauth.access"
AUTHORIZE_URL = "https://slack.com/oauth/v2/authorize"
TOKEN_URL = "https://slack.com/api/oauth.v2.access"

mattr_accessor :client_id, :client_secret
mattr_accessor :scopes, :client
Expand Down