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

Fetch and archive Google JWT keys as well #119

Open
Divide-By-0 opened this issue Oct 12, 2024 · 3 comments
Open

Fetch and archive Google JWT keys as well #119

Divide-By-0 opened this issue Oct 12, 2024 · 3 comments
Labels
enhancement New feature or request high

Comments

@Divide-By-0
Copy link
Member

As a higher priority, we should fetch and archive Gmail's JWT keys, as this is critical for JWT logins:

JSON Web Key Set (JWKS) endpoint:
https://www.googleapis.com/oauth2/v3/certs
X.509 certificate endpoint:
https://www.googleapis.com/oauth2/v1/certs

@Divide-By-0 Divide-By-0 added enhancement New feature or request high labels Oct 12, 2024
@sukhman-sukh
Copy link
Contributor

Did you mean to store JWT token when we upload from Gmail for contribution to the archive in the db so that it can periodically sync the DSP from the mails?

@Divide-By-0
Copy link
Member Author

Oh that would be nice actually. But no, the purpose is simpler, just to archive those keys themselves so that we can use those values on chain.

@sukhman-sukh
Copy link
Contributor

Hey @Divide-By-0 ,
I have created a PR #137 for this issue.
Please review and let me know of any changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request high
Projects
None yet
Development

No branches or pull requests

2 participants