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

feat(open-payments): add verifySignatureHeaders #752

Closed
wants to merge 2 commits into from

Conversation

wilsonianb
Copy link
Contributor

@wilsonianb wilsonianb commented Nov 18, 2022

Changes proposed in this pull request

Testing out:

Context

Checklist

  • Related issues linked using fixes #number
  • Tests added/updated
  • Documentation added
  • Make sure that all checks pass

@github-actions github-actions bot added pkg: open-payments type: source Changes business logic type: tests Testing related labels Nov 18, 2022
}
expect(axiosInstance.get).toHaveBeenCalledWith(url, {
headers: {
Authorization: 'GNAP accessToken'

Check failure

Code scanning / CodeQL

Hard-coded credentials

The hard-coded value "GNAP accessToken" is used as [authorization header](1).
describe('signatures', (): void => {
const request = {
headers: {
authorization: 'GNAP access-token'

Check failure

Code scanning / CodeQL

Hard-coded credentials

The hard-coded value "GNAP access-token" is used as [authorization header](1).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: source Changes business logic type: tests Testing related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants