Skip to content

Slack auth v2#3

Open
pavelperkin wants to merge 3 commits intosignin-with-slack-supportfrom
slack-auth-v2
Open

Slack auth v2#3
pavelperkin wants to merge 3 commits intosignin-with-slack-supportfrom
slack-auth-v2

Conversation

@pavelperkin
Copy link
Copy Markdown


def uid
raw_info['user']['id']
raw_info.dig('user', 'id')
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

raw_info['user']['id'] comes from the original gem. We may want to keep it because if the original upstream gem is updated, here we will have a conflict

raw_info['user_id']
end

def identity_access_token
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Duplicated code. Do you want to move it to BaseResponseAdapter?

spec.add_runtime_dependency 'omniauth-oauth2', "~> 1.3.1"

spec.add_development_dependency "bundler", "~> 1.3"
spec.add_development_dependency "bundler"
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this changed required?

@pavelperkin pavelperkin requested a review from max5it July 30, 2020 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants