Autofill for OpenVPN

Backspaze
Backspaze
Community Member
in iOS

I'm using the app OpenVPN Connect and I'm trying to figure out how to get 1Password to suggest logins when filling the password for a VPN connection. Does anybody know which url, if any, is associated with this app on iOS or is it simply not possible to get suggestions to work for this app?

When the password field appears with the keyboard below, there's only the generic key icon with the text passwords above the keyboard. If i tap on that, 1Password opens up with no suggestions under Suggested items, so I have to search for the credentials.

I'm aware that the autofill suggestions that is sometimes shown above the keyboard is handled by iOS, so I'm not mainly on the hunt for the correct credential to appear above the keyboard (although that would be nice).

My main concern is how to get 1Password to at least show some suggestions once I tap on the key icon above the keyboard to open 1Password, so I don't have to search for the credentials every time.

I've read elsewhere that it's the url for the websites saved on the login item that determines if the item is placed in the suggestions section. I've tried adding https://openvpn.net/ and https://openvpn.com/ to the login item but it made no difference.


1Password Version: 8.10.32 (beta channel)
Extension Version: Not Provided
OS Version: iOS 17.4.1
Browser: Not Provided

Comments

  • Hello @Backspaze! 👋

    Thank you for reaching out! Password AutoFill will match the apps that you use to your login items in 1Password by taking the associated domain associated with an app and comparing it against the website URL in your login items. If there is a match then Password AutoFill will offer to fill your login information.

    If your login item is not being suggested for a particular app then you'll need to add the app's associated domain to your login item in 1Password. When you tap on the username or password field in an app you'll see the Password AutoFill prompt appear (above your keyboard), tap on the prompt and then search for the appropriate login item. Then, tap on that Login Item and tap Fill & Update Login.

    If you don't see Fill & Update Login when you search for and tap on a Login Item then it means that the developer of that app hasn't added an associated domain and there is nothing for Password AutoFill to use to match the app to a Login item in 1Password. This means that you'll always need to search for the correct Login item.

    You can also contact the developer of an app to have them add a specific URL as an associated domain for their app so that you don't need to manually add another URL to your login items. Here is Apple's developer page regarding associated domains: Supporting Associated Domains | Apple Developer Documentation

    Let me know if you have any questions. 🙂

    -Dave

  • Backspaze
    Backspaze
    Community Member

    Thanks for confirming the information regarding the associated domain @Dave_1P.

    While waiting for a reply in this thread, I reached out to OpenVPN support and got the response quoted below.

    I would like to inform you that 1Password only supports password storage for URL accounts, not individual apps. Since the OpenVPN Client Connect App is not a URL, this could be the reason for the issue you are experiencing.

    I recommend reaching out to 1Password support for further assistance with this matter.

    I've replied to that response with a clarification regarding the question and hopefully that will lead somewhere.

  • Backspaze
    Backspaze
    Community Member

    One potential issue in this case is that the app is not like, say the 1Password app, where you open the app and have to log in to the app to use it. In the OpenVPN app, it's not the app itself you're logging in to. Instead you add OpenVPN configuration files for all your OpenVPN connections, and when you tap to connect, a password prompt pops up for that connection.

    I don't know how that workflow integrates with the associated domain for the app, so it might be an issue in this case.

  • @Backspaze

    Thank you for those details. If an app doesn't include an associated domain, and you don't have a website address added to your login item in 1Password, then iOS AutoFill won't be able to match that app to your saved login item in order to automatically suggest it.

    Outside of the associated domain, there isn't a way to link an app to a login item and you'll need to search for your credentials when filling them into the app.

    I'm sorry that I don't have a better answer or suggestion.

    -Dave

  • Backspaze
    Backspaze
    Community Member

    Thanks for following up @Dave_1P.

    I'm a bit stuck in the conversation with OpenVPN support right now.

    They're saying this:

    If you're using either OpenVPN Access Server, CloudConnexa, or any OpenVPN Community Server, the IP or Domain of the Server will vary all the time depending on the Server and the VPN Server Admin Settings, so there is no standard URL so 1Password can suggest something to you

    So, for example, my VPN Server Domain could be (There are domain examples):

    https://diome-network.net

    or

    https://as-server15.com

    or

    https://natural-vpn-center.com

    And so on

    It could be any Domain you configured when setting up your VPN Server, hence won't work

    My response is this:

    Yes, but 1Password doesn't care which VPN server you're connecting to within the app, it only cares about which app you're in. So if you're in the OpenVPN app, it will check the associated domain(s) for that app, not which VPN server you're trying to connect to within the app.

    Am I correct in that statement @Dave_1P? Adding an associated domain to the app should, most likely, fix this issue, right?

    I've also sent the following information in an earlier reply.

    In the Apple developer documentation, it says that the JSON file should be placed at https:///.well-known/apple-app-site-association. I just tried accessing https://openvpn.net/.well-known/apple-app-site-association and https://openvpn.com/.well-known/apple-app-site-association but only got a 404.

    I assume that this means that they're not using associated domains for their app in the App Store? If I go to https://1password.com/.well-known/apple-app-site-association, I get your JSON file as expected, so it looks like they haven't configured any associated domains.

  • Backspaze
    Backspaze
    Community Member

    For those that might be interested, I got a response from OpenVPN acknowledging the potential issue with the lack of an associated domain and they've forwarded the issue to their dev team for a possible future implementation.

  • @Backspaze

    Thank you for the update! Let me know if there's anything else that I can help with from the 1Password end of things. 🙂

    -Dave

This discussion has been closed.