slack-go / slack

Slack API in Go, originally by @nlopes; Maintainers needed, contact @parsley42
https://pkg.go.dev/github.com/slack-go/slack
BSD 2-Clause "Simplified" License
4.6k stars 1.11k forks source link

Openid connect #1242

Closed danielmichaels closed 4 months ago

danielmichaels commented 8 months ago

This PR adds support for Sign in with Slack, in particular the openid.connect.token endpoint.

I've tried to keep consistency with the other methods found in oauth.go by providing context and non-context aware functions.

Two functions were also incorrectly commented which have also been addressed in this PR.

make pr-prep passed.

Related: #967