Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start storing profile IDs in JWT #142

Merged
merged 1 commit into from
Mar 16, 2023
Merged

Start storing profile IDs in JWT #142

merged 1 commit into from
Mar 16, 2023

Conversation

bhollis
Copy link
Contributor

@bhollis bhollis commented Mar 6, 2023

Part one of fixing #141. This changes to storing the list of profile IDs (primary profile ID first) in the JWT for newly minted tokens. It should take a month for these to rotate in. In the meantime I'll just log metrics about them.

The idea is that once these have all gotten set, we can switch our authorization checks to use that list instead of the Bungie.net membership ID, and remove membership ID from the profile-specific tables.

@bhollis bhollis requested review from nev-r and robojumper March 6, 2023 23:54
@bhollis bhollis merged commit 62c5705 into master Mar 16, 2023
@bhollis bhollis deleted the profile-ids-jwt branch March 16, 2023 02:39
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