WIP: feat: adding supabase db #1540
No reviewers
Labels
No labels
DB & Storage
Deployment
Error Handling & Logging
Maintenance
Payment Backend
backport
backport v0.13.x
backport v0.14.x
backport v0.15.x
bindings
blocked
bug
cdk-sql
ci
cli
deps
documentation
duplicate
enhancement
good first issue
help wanted
invalid
keep-open
ldk-node-ui
migrations
mint
mutation-testing
needs rebase
needs review
new nut
nut change
question
ready
rust-version
rustfmt
stacked hold
stale
testing
wallet
weekly-report
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
cashubtc/cdk!1540
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "asmogo/feat/wallet-supabase"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
Introducing supabase db to the cdk wallet.
Todo:
call_rpcfunction to invoke custom db rpcSetTokenExpiration(set exp internally based on access token)serde(flatten)?.crate::impl_ffi_wallet_database!This example reuses the keycloak token for auth wallet and supabase.
My supabase is configured to use the jwt token from keycloak for user authentication and RBAC (golang):
Notes to the reviewers
Suggested CHANGELOG Updates
CHANGED
ADDED
REMOVED
FIXED
Checklist
just final-checkbefore committingHere’s another example for using this with supabase native authentication and e2e encryption.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.