Skip to content

Adding token validation#11889

Merged
Sgtpluck merged 6 commits intomainfrom
dmm/sign-hash
Feb 25, 2025
Merged

Adding token validation#11889
Sgtpluck merged 6 commits intomainfrom
dmm/sign-hash

Conversation

@Sgtpluck
Copy link
Contributor

🎫 Ticket

Link to the relevant ticket:
Validate signed request

🛠 Summary of changes

)
end

def valid_request_token?
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just for my own reference/note-taking, this is based on some of the previous implementation here

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, apologies!

the big difference is we are hashing the token before saving it as config, so we don't have it stored in plaintext anywhere.

@Sgtpluck Sgtpluck merged commit 371b260 into main Feb 25, 2025
2 checks passed
@Sgtpluck Sgtpluck deleted the dmm/sign-hash branch February 25, 2025 18:07
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.

2 participants