Skip to content

Commit

Permalink
[pk] Whitelist ente-cli's custom protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
mnvr committed Jun 18, 2024
1 parent 6645bd5 commit 32faa7f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion web/apps/accounts/src/services/passkey.ts
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,8 @@ export const isWhitelistedRedirect = (redirectURL: URL) =>
redirectURL.host.endsWith(".ente.io") ||
redirectURL.host.endsWith(".ente.sh") ||
redirectURL.protocol == "ente:" ||
redirectURL.protocol == "enteauth:";
redirectURL.protocol == "enteauth:" ||
redirectURL.protocol == "ente-cli:";

export interface BeginPasskeyAuthenticationResponse {
/**
Expand Down

0 comments on commit 32faa7f

Please sign in to comment.