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

Work Around Request Size #80

Merged
merged 1 commit into from
Jun 14, 2024
Merged

Work Around Request Size #80

merged 1 commit into from
Jun 14, 2024

Conversation

spjmurray
Copy link
Member

Login in Entra is causing the request size to be blown due to large tokens, probably hinting they encode permissions in there rather thand doing a DB lookup. As a quick hack, remove the tokens from the code and our tokens to reduce the size, as they aren't necessary. A long term solution will be to save these details in a DB and pass around much smaller identifiers to allow a lookup. We need the DB anyway for access token single use and revocaction.

Login in Entra is causing the request size to be blown due to large
tokens, probably hinting they encode permissions in there rather thand
doing a DB lookup.  As a quick hack, remove the tokens from the code and
our tokens to reduce the size, as they aren't necessary.  A long term
solution will be to save these details in a DB and pass around much
smaller identifiers to allow a lookup.  We need the DB anyway for access
token single use and revocaction.
@spjmurray spjmurray merged commit cff59d8 into main Jun 14, 2024
2 checks passed
@spjmurray spjmurray deleted the hack_login branch June 14, 2024 11:30
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.

None yet

1 participant