Closed danschultzer closed 2 years ago
Can this be merged?
Hey @danschultzer, what do you think about my proposal to get team_id
? That would mean it's not a breaking change anymore.
@MMore I've added a :userinfo_additional_claims
setting so additional claims can be added. For Slack it'll add the team id claim automatically now 😄
@danschultzer Very good. So we have the team_id
available! Can we go back to the prior {SUB}-{TEAM}
structure or do you see a reason not to do it?
@MMore No, since Slack already provides a unique id. It's unfortunate, but I'll see if I can provide instructions in the changelog for how to dynamically update the id. This is a breaking change with 0.2.0
.
I've added a module example for how to continue using the old sub
user id value. Migration is very dependent how the logic has been set up.
v0.2.0
has been released with this 🎉 The changelog contains an example for how to continue using the old user id format, if you don't want to deal with migrating the user id.
Unfortunately this introduces a breaking change to the
sub
field, as it now no longer include the team id.