Skip to content

Commit

Permalink
[pk] Whitelist ente-cli's custom protocol (#2194)
Browse files Browse the repository at this point in the history
  • Loading branch information
mnvr authored Jun 18, 2024
2 parents 6645bd5 + 32faa7f commit 429d9fd
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 429d9fd

Please sign in to comment.