Skip to content
Source
Sign inSign up
pingdotgg/t3code

Migrate desktop auth to Clerk bridge #3092

Mergedjuliusmarmingemerged 11 commits intomain fromrefs/pull/3092/headmerged by juliusmarminge View on GitHub

Showing 67 changed files with 17 additions and 21 deletions (loading 63).

x
0 of 67 viewed, 67 left
1 addition and 0 deletions.github/workflows/ci.ymlModified
View file
@@ -38,6 +38,7 @@
run: |
test -f apps/desktop/dist-electron/preload.cjs
grep -nE "desktopBridge|getLocalEnvironmentBootstrap|PICK_FOLDER_CHANNEL|wsUrl" apps/desktop/dist-electron/preload.cjs
+ grep -n "__clerk_internal_electron_passkeys" apps/desktop/dist-electron/preload.cjs
​
test:
name: Test
15 additions and 0 deletions.github/workflows/release.ymlModified
View file
@@ -425,6 +425,9 @@
APPLE_API_KEY: ${{ secrets.APPLE_API_KEY }}
APPLE_API_KEY_ID: ${{ secrets.APPLE_API_KEY_ID }}
APPLE_API_ISSUER: ${{ secrets.APPLE_API_ISSUER }}
+ APPLE_TEAM_ID: ${{ vars.APPLE_TEAM_ID }}
+ MACOS_PROVISIONING_PROFILE: ${{ secrets.MACOS_PROVISIONING_PROFILE }}
+ T3CODE_CLERK_PASSKEY_RP_DOMAINS: ${{ vars.CLERK_PASSKEY_RP_DOMAINS }}
AZURE_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}
AZURE_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}
AZURE_CLIENT_SECRET: ${{ secrets.AZURE_CLIENT_SECRET }}
@@ -452,9 +455,21 @@
​
if [[ "${{ matrix.platform }}" == "mac" ]]; then
if has_all "$CSC_LINK" "$CSC_KEY_PASSWORD" "$APPLE_API_KEY" "$APPLE_API_KEY_ID" "$APPLE_API_ISSUER"; then
+ if ! has_all "$APPLE_TEAM_ID" "$MACOS_PROVISIONING_PROFILE"; then
+ echo "macOS signing is configured, but APPLE_TEAM_ID or MACOS_PROVISIONING_PROFILE is missing." >&2
+ exit 1