slack-ruby / slack-ruby-client

A Ruby and command-line client for the Slack Web, Real Time Messaging and Event APIs.
MIT License
1.19k stars 215 forks source link

Add openid api support #389

Closed ro31337 closed 2 years ago

ro31337 commented 2 years ago

(feature request)

There is OpenID API that allows to read user email address, like https://api.slack.com/methods/openid.connect.userInfo

It's one of the most popular things that you always need - read email address. Should be added IMO.

dblock commented 2 years ago

You can help! See https://github.com/slack-ruby/slack-ruby-client/blob/master/CONTRIBUTING.md#update-slack-web-api

I suspect API ref is broken, see https://github.com/slack-ruby/slack-api-ref/issues/47 to be fixed first.

dblock commented 2 years ago

Updated in https://github.com/slack-ruby/slack-ruby-client/pull/393