Skip to content

Pass the installing user and their Slack profile to the installation handler - #52

Merged
johnkors merged 2 commits into
mainfrom
jk/installer-openid-identity
Sep 29, 2026
Merged

johnkors merged 2 commits into
mainfrom
jk/installer-openid-identity

Conversation

@johnkors

@johnkors johnkors commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor
  • Installer: apps now learn who installed them as one WorkspaceInstaller: always the Slack user id, plus email, verified flag and name when the install requests the openid,email,profile user scopes, so an install can be tied to a real user without a separate sign-in.
  • Breaking: Workspace.InstallerUserId from 9.0.4 moves onto the installer.
  • Apps not requesting those scopes make no extra call to Slack, and a failed profile lookup never blocks the install.

When the install's user token carries the openid scope, look up
openid.connect.userInfo and hand the email, verified flag and name to the
installation handler. Installs without openid make no extra call, and a
failed lookup still installs the workspace.
Workspace.InstallerUserId (9.0.4) is replaced by Workspace.Installer, which
carries the user id whenever Slack reports an installer and the profile only
when openid was granted.
@johnkors johnkors changed the title Pass the installer's Slack profile to the installation handler Pass the installing user and their Slack profile to the installation handler Sep 29, 2026
@johnkors
johnkors merged commit a56b2ec into main Sep 29, 2026
1 of 2 checks passed
@johnkors
johnkors deleted the jk/installer-openid-identity branch September 29, 2026 12:34
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.

1 participant