mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 18:57:03 +02:00
feat: patreon plug
This commit is contained in:
1 parent
0a0376312b
commit
14e45d97d2
11 files changed
+126
-61
No files matched your search
@@ -0,0 +1,10 @@
|
||||
export function patreonLoginUrl() {
|
||||
const params = new URLSearchParams({
|
||||
response_type: 'code',
|
||||
client_id: process.env.NEXT_PUBLIC_PATREON_CLIENT_ID as string,
|
||||
redirect_uri: process.env.NEXT_PUBLIC_PATREON_REDIRECT_URI as string,
|
||||
scope: 'identity',
|
||||
});
|
||||
|
||||
return `https://www.patreon.com/oauth2/authorize?${params}`;
|
||||
}
|
||||
Reference in new issue
Block a user