Fix fastmail username forwarder by changing url: to forDomain: in the API request (#6827)

Url is incorrect and should not be used per the fastmail integration.

> If your product supports deep links, the url property should be a deep link to the 
> credential or other record related to this masked email address in your product. If 
> deep links are not supported, leave this null. Do not set this to the domain of the 
> site the user is using the masked email for, see above and use forDomain for this.

At present, the username generator stores the credential locally, so there's no way 
to deeplink to the credential reliably. We should look into supporting url if, in the 
future, we sync the key across clients.
This commit is contained in:
cubemike99 2023-11-14 15:28:11 -05:00 committed by GitHub
parent 5a879e59c6
commit 432b96925a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ export class FastmailForwarder implements Forwarder {
"new-masked-email": {
state: "enabled",
description: "",
url: options.website,
forDomain: options.website,
emailPrefix: options.fastmail.prefix,
},
},