You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First off, thanks to all involved in both this fork and the original gem.
Love the team functionality...but I had some surprises using it. Would like to know if there's something wrong in my setup/usage and/or my fix(/workaround). Hope it's OK to ask here...
Setup
I have access to at least 2 Slack teams/workspaces. Let's call them TeamA and TeamB.
I also have at least 2 Slack identities:
First off, thanks to all involved in both this fork and the original gem.
Love the team functionality...but I had some surprises using it. Would like to know if there's something wrong in my setup/usage and/or my fix(/workaround). Hope it's OK to ask here...
Setup
I have access to at least 2 Slack teams/workspaces. Let's call them TeamA and TeamB.
I also have at least 2 Slack identities:
My Devise config picks up TeamA values
When either user is signed into TeamA, things work as expected—Slack asks if I want TeamA to grant my app permission to access basic and email info.
Weird(?) behavior
The weird thing is when UserAB is signed into only TeamB.
When that is the case and I start the flow, I see
https://teama.slack.com/oauth?...
brieflyhttps://teamb.slack.com/oauth?...
If I grant permission, I get a token for UserAB in TeamB.
Expected? Unexpected?
Fix(/ Workaround?)
Double-check the Team ID in my callback controller and redirect back to the root page if there's a mismatch:
app/controllers/users/omniauth_callbacks.rb
Seem reasonable?
TIA!
The text was updated successfully, but these errors were encountered: