-
Notifications
You must be signed in to change notification settings - Fork 64
Include chainId in JWT audience field #215
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
Include chainId in JWT audience field #215
Conversation
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
Co-Authored-By: [email protected] <[email protected]>
}, | ||
} | ||
|
||
if txReceipt != nil { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let move this to another PR. Don't touch this file in this PR. We will only handle auth stuff i n this pr
…ct_write.go changes Co-Authored-By: [email protected] <[email protected]>
7422b32
to
63bc1de
Compare
Closing due to inactivity for more than 7 days. |
Closes #210
This PR adds the chainId to the common audience field of JWT before returning it to the client and verifies it during authentication.
Changes
GetKey
functionverifyAuth
to check that the chainId in the audience field matches the network's chainIdLink to Devin run: https://app.devin.ai/sessions/5de0e8606d10474ba62b3d64d3da28f4
Requested by: [email protected]