This commit is contained in:
parent
daad0bbe76
commit
3963db1a0a
@ -64,7 +64,14 @@ export function getAlbyOAuth() {
|
|||||||
const clientId = CONFIG.alby?.clientId ?? "";
|
const clientId = CONFIG.alby?.clientId ?? "";
|
||||||
const clientSecret = CONFIG.alby?.clientSecret ?? "";
|
const clientSecret = CONFIG.alby?.clientSecret ?? "";
|
||||||
const redirectUrl = `${window.location.protocol}//${window.location.host}/settings/wallet/alby`;
|
const redirectUrl = `${window.location.protocol}//${window.location.host}/settings/wallet/alby`;
|
||||||
const scopes = ["invoices:create", "invoices:read", "transactions:read", "balance:read", "payments:send", "account:read"];
|
const scopes = [
|
||||||
|
"invoices:create",
|
||||||
|
"invoices:read",
|
||||||
|
"transactions:read",
|
||||||
|
"balance:read",
|
||||||
|
"payments:send",
|
||||||
|
"account:read",
|
||||||
|
];
|
||||||
|
|
||||||
const ec = new TextEncoder();
|
const ec = new TextEncoder();
|
||||||
const tokenUrl = "https://api.getalby.com/oauth/token";
|
const tokenUrl = "https://api.getalby.com/oauth/token";
|
||||||
|
Loading…
Reference in New Issue
Block a user