rafiki
rafiki copied to clipboard
feat(auth): allow non-interactive grants for incoming payments
Changes proposed in this pull request
- if the access type is
incoming-payment
, the grant will be issued right away, without interaction
Context
- fixes #415
Checklist
- [x] Related issues linked using
fixes #number
- [x] Tests added/updated
- [ ] Documentation added
- [ ] Make sure that all checks pass
Q: Should we have the same behavior for quote grant requests? @wilsonianb
Q: Should we have the same behavior for quote grant requests? @wilsonianb
I'm not sure. Creating a quote can indirectly reveal the sender's available balance at the account provider. OTOH a grant allowing quote creation is likely to also include outgoing payment creation, which would require interaction.
Creating a quote can indirectly reveal the sender's available balance at the account provider. OTOH a grant allowing quote creation is likely to also include outgoing payment creation, which would require interaction.
Then let's leave it as is for now.