It’s Cybersecurity Awareness Month! Join our interactive training session, or learn about security and AI from 1Password experts.
Forum Discussion
Piotr
16 days agoNew Contributor
How to autofill Netlify deploy preview URLs with changing PR numbers
I'm trying to set up 1Password to work with Netlify deploy preview URLs that are password-protected with HTTP Basic Auth, but I'm running into issues with the dynamic URL structure.
According to [Netlify's documentation](https://docs.netlify.com/site-deploys/deploy-previews/), deploy preview URLs follow this pattern:
```
deploy-preview-{PR_NUMBER}--{sitename}.netlify.app
```
So each new pull request creates a completely different URL:
- `deploy-preview-1191--mysite.netlify.app`
- `deploy-preview-1192--mysite.netlify.app`
- `deploy-preview-1193--mysite.netlify.app`
## What I've Tried
1. **Setting the website field to just `netlify.app` with "Fill anywhere on this website"**
- Result: Doesn't work - no autofill suggestions appear
2. **Using the exact full URL like `deploy-preview-1191--mysite.netlify.app`**
- Result: Works! But only for that specific PR number
3. **Trying patterns like `*.netlify.app` or `deploy-preview-*--mysite.netlify.app`**
- Result: Doesn't work - seems like wildcards aren't supported
Is there any way to make 1Password autofill work across all these dynamically-generated preview URLs without manually updating the URL field for each new PR?
Has anyone found a workaround for this type of scenario?
No RepliesBe the first to reply