K
Kinde4w ago
Wayne

How to get Slack specific user data?

Hi, I'm using Slack authentication and have configured "scopes" in Slack App. I'm wondering how to retrieve slack data like workspaceId from Kinde nextjs sdk?
3 Replies
CB_Kinde
CB_Kinde4w ago
Hi Wayne. So you've configured the Slack auth and it works, but you want to include the workspace ID when the user authenticates?
Wayne
WayneOP4w ago
that's correct, as well as Slack userId and access token. Is it possible right now?
CB_Kinde
CB_Kinde4w ago
Yes. It's possible. You can create custom properties that map to user profiles, and then include those properties in the token. Heres the docs: https://docs.kinde.com/properties/work-with-properties/properties-in-tokens/ You'll need to access the Slack API to request the info, and then map it back to the property in Kinde using the property Key.
Does this make sense?
Want results from more Discord servers?
Add your server