Merge pull request #1784 from appwrite/feat-figma-oauth

feat: add figma to list of oauth adapters
This commit is contained in:
Christy Jacob authored and GitHub committed 2025-04-11 19:09:37 +04:00
commit 7610ed960c
3 files changed
+13 -7

No files matched your search

+1 -1
View File
@@ -19,7 +19,7 @@
"e2e:ui": "playwright test tests/e2e --ui"
},
"dependencies": {
"@appwrite.io/console": "1.5.2",
"@appwrite.io/console": "1.6.0",
"@appwrite.io/pink": "0.25.0",
"@appwrite.io/pink-icons": "0.25.0",
"@popperjs/core": "^2.11.8",
+5 -5
View File
@@ -12,8 +12,8 @@ importers:
specifier: ^1.1.22
version: 1.1.22(svelte@4.2.19)(zod@3.24.2)
'@appwrite.io/console':
specifier: 1.5.2
version: 1.5.2
specifier: 1.6.0
version: 1.6.0
'@appwrite.io/pink':
specifier: 0.25.0
version: 0.25.0
@@ -230,8 +230,8 @@ packages:
'@analytics/type-utils@0.6.2':
resolution: {integrity: sha512-TD+xbmsBLyYy/IxFimW/YL/9L2IEnM7/EoV9Aeh56U64Ify8o27HJcKjo38XY9Tcn0uOq1AX3thkKgvtWvwFQg==}
'@appwrite.io/console@1.5.2':
resolution: {integrity: sha512-9nNZzxoQcpm5C5pKlGJLWxsEJ4sr5mdt01Hg6M8QpfMtsRe0gjaPa7WGrGBepRnZVKPDNpozh3Hua7nqgx4aEA==}
'@appwrite.io/console@1.6.0':
resolution: {integrity: sha512-o8dvCeJcnMORozB2NdLCiN042HyyLLQzteiTelU83dTgp7q2E1DTKu69hFwyMgoEXqcxMmKeJKmMI/1qt002IQ==}
'@appwrite.io/pink-icons@0.25.0':
resolution: {integrity: sha512-0O3i2oEuh5mWvjO80i+X6rbzrWLJ1m5wmv2/M3a1p2PyBJsFxN8xQMTEmTn3Wl/D26SsM7SpzbdW6gmfgoVU9Q==}
@@ -3796,7 +3796,7 @@ snapshots:
'@analytics/type-utils@0.6.2': {}
'@appwrite.io/console@1.5.2': {}
'@appwrite.io/console@1.6.0': {}
'@appwrite.io/pink-icons@0.25.0': {}
+7 -1
View File
@@ -1,4 +1,3 @@
import type { SvelteComponent } from 'svelte';
import Apple from '$routes/(console)/project-[project]/auth/(providers)/appleOAuth.svelte';
import Auth0 from '$routes/(console)/project-[project]/auth/(providers)/auth0OAuth.svelte';
import Authentik from '$routes/(console)/project-[project]/auth/(providers)/authentikOAuth.svelte';
@@ -8,6 +7,7 @@ import Main from '$routes/(console)/project-[project]/auth/(providers)/mainOAuth
import Microsoft from '$routes/(console)/project-[project]/auth/(providers)/microsoftOAuth.svelte';
import Oidc from '$routes/(console)/project-[project]/auth/(providers)/oidcOAuth.svelte';
import Okta from '$routes/(console)/project-[project]/auth/(providers)/oktaOAuth.svelte';
import type { SvelteComponent } from 'svelte';
export type Provider = {
name: string;
@@ -101,6 +101,12 @@ export const oAuthProviders: Record<string, Provider> = {
docs: 'https://developers.facebook.com/',
component: Main
},
figma: {
name: 'Figma',
icon: 'figma',
docs: 'https://www.figma.com/developers/api#access-tokens',
component: Main
},
github: {
name: 'GitHub',
icon: 'github',