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

Demo grant request failing #790

Closed
wilsonianb opened this issue Nov 28, 2022 · 4 comments
Closed

Demo grant request failing #790

wilsonianb opened this issue Nov 28, 2022 · 4 comments
Labels
pkg: auth Changes in the GNAP auth package.

Comments

@wilsonianb
Copy link
Contributor

The demo Grant Request Incoming Payment Postman request is currently failing with:

local-database-1      | 2022-11-28 01:32:28.608 UTC [70] ERROR:  null value in column "clientKeyId" of relation "grants" violates not-null constraint

I think this is due to:

BYPASS_SIGNATURE_VALIDATION: "true"

which bypasses clientKeyId being defined in:

This could be solved with:

@wilsonianb wilsonianb added the pkg: auth Changes in the GNAP auth package. label Nov 28, 2022
@mkurapov
Copy link
Contributor

@wilsonianb In the meantime, until we have decided on and rolled out #737 , I was thinking we could do something like this:

https://github.com/interledger/rafiki/pull/792/files#r1033413462

i.e. we could provide a key via the header in the meantime

@mkurapov
Copy link
Contributor

@raducristianpopa I believe you will need this fix as well to test your open PR, tagging you so you can follow along

@mkurapov

This comment was marked as outdated.

@mkurapov
Copy link
Contributor

Closing as #797 makes the demo work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg: auth Changes in the GNAP auth package.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants