Aeion + Slack — Workspace Connection
Aeion's auth layer recognizes `slack` as an OAuth provider type, but it isn't wired to any environment configuration in the current build — "Sign in with Slack" as an end-user identity option isn't available yet. What IS live today is the workspace-level OAuth v2 bot install: it stores an encrypted workspace token, links the installer, synchronizes the channel catalog, and unlocks Connect's downstream Slack send and interaction seams.
When This Integration Matters
Connecting Slack matters for any product where the user's workplace runs on Slack (most knowledge-worker B2B SaaS). Today, the integration is workspace-level, not per-user:
Step 1 — Slack App Setup
Slack apps are configured via Apps → api.slack.com/apps → Your Apps.
Step 2 — Choose the Right Slack Path
Aeion supports two independent Slack delivery paths:
OAuth v2 Flow Specifics
Slack's workspace install uses OAuth v2 and requests bot scopes directly (chat:write, channels:read, users:read, etc. — see the manifest above). The resulting bot token (xoxb-...) is workspace-scoped. Aeion submits the code to oauth.v2.access with HTTP Basic client authentication, encrypts the returned tokens using the platform OAuth encryption context, then uses the decrypted token only in-process for conversations.list, chat.postMessage, and related Slack Web API calls. Reinstalling the same Slack team updates its existing workspace row instead of creating a duplicate.
Common Gotchas
- The incoming-webhook path doesn't need scopes at all — an Incoming Webhook URL posts to the specific channel it was created for regardless of any app-level OAuth scopes, since it isn't tied to a bot token.
FAQ
No. The `slack` OAuth provider type exists in Aeion Auth's code, but no environment variable wires client credentials to it, so it can't be turned on in the login UI yet.
Create a Slack Incoming Webhook for the channel you want, and configure that webhook URL as a notification target in Aeion. Aeion auto-detects the `slack.com` webhook URL and formats messages as Slack Block Kit — no OAuth app needed.
Yes. Configure the three Slack credentials and callback URL above, then connect the workspace from Admin Settings. Aeion synchronizes channels and uses the installed bot token for `chat.postMessage`.
Not applicable yet — see above, Slack sign-in isn't wired up.
Slack notifications or a full workspace bot.
Use an Incoming Webhook for simple delivery, or connect the OAuth bot for channel-aware workflows.