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

Use smaller JWK key IDs #474

Closed
ericchiang opened this issue Jun 20, 2016 · 0 comments · Fixed by #490
Closed

Use smaller JWK key IDs #474

ericchiang opened this issue Jun 20, 2016 · 0 comments · Fixed by #490

Comments

@ericchiang
Copy link
Contributor

ericchiang commented Jun 20, 2016

Currently the "kid" field for JWTs are huge.

{
  "alg": "RS256",
  "kid": "_WhQpNuQekLjdivtczqb_wP8T5_jZ29ooWOzlkokoSj_5_8lpiXiGRkjG3n0OlDMbR64fuZ5zddo09xG-yoIgpc6VsRxBlISBnl0_-YdyqjYMcLPfQquOMSU4aQqh63Le7liIXcfVIZGtH_59CatiJbtyxYXWQdrlYxipS_y0f_KAOXZd_Y4jHet1aAxYS5JXAvBfMuCFQC_FDSDsqnmVa9OLpb-A3jbpEzmXkAxoHCvS3ppR8kfyr412CRKXyiUNddP6Fe1mt5FoAZHJ3j3jeIIr-lDWK44KzLovj_PZk3CIAErxx-S9fit3jkQKBEodhX0XVppzPsLOZGa3CojEw==",
  "typ": "JWT"
}

Make these smaller to reduce the overall size of the JWTs.

See https://www.googleapis.com/oauth2/v3/certs for example of smaller key ids.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant