Autofill support with authentik

Options

authentik is a SSO solution: https://goauthentik.io

1password can fill the login form perfectly fine if I click the extension button > find the item > click "Autofill" blue button.

But by default, it does not autofill the form (does not show the icon in the form fields, and CTRL+\ does nothing).

Here is the "Collect Page Structure" output:

{
    "unparsedUrl": "https://auth.home/if/flow/default-authentication-flow/?next=%2Fapplication%2Fo%2Fauthorize%2F%3Fclient_id%3DJR9rYcIhYIrMFiR0ox2LqRu1ak7Uqg7HtGNrzWjI%26redirect_uri%3Dhttps%253A%252F%252Fstart.home%252Foutpost.goauthentik.io%252Fcallback%26response_type%3Dcode%26scope%3Dprofile%2Bemail%2Bopenid%2Bak_proxy%26state%3DKemtIo7BfMSyw2knJ2mYCes8K7jHmJ8GMssnsM5uLO8",
    "title": "Welcome to authentik! - authentik",
    "frames": [
        {
            "fields": [
                {
                    "autocompleteType": "username",
                    "formOpid": 0,
                    "htmlName": "username",
                    "opid": 0,
                    "type": "text"
                },
                {
                    "autocompleteType": "current-password",
                    "formOpid": 0,
                    "htmlName": "password",
                    "opid": 1,
                    "type": "password"
                },
                {
                    "autocompleteType": "one-time-code",
                    "formOpid": 0,
                    "htmlName": "code",
                    "opid": 2,
                    "type": "text"
                }
            ],
            "forms": [
                {
                    "htmlAction": "https://auth.home/if/flow/default-authentication-flow/?next=%2Fapplication%2Fo%2Fauthorize%2F%3Fclient_id%3DJR9rYcIhYIrMFiR0ox2LqRu1ak7Uqg7HtGNrzWjI%26redirect_uri%3Dhttps%253A%252F%252Fstart.home%252Foutpost.goauthentik.io%252Fcallback%26response_type%3Dcode%26scope%3Dprofile%2Bemail%2Bopenid%2Bak_proxy%26state%3DKemtIo7BfMSyw2knJ2mYCes8K7jHmJ8GMssnsM5uLO8",
                    "opid": 0
                }
            ],
            "origin": "https://auth.home",
            "title": "Welcome to authentik! - authentik",
            "pathName": "/if/flow/default-authentication-flow/",
            "uuid": "5qk7o7"
        }
    ]
}

1Password Version: 8.5.0-121
Extension Version: 2.2.3
OS Version: Linux 5.16.10 / Firefox 97.0.1

Comments

  • Hello @nicoulaj,

    Thank you for the link. I go to your website, but I am not sure how to go to the sign-in page. Using the link in the JSON file doesn't help. That said, please send me the steps to get to the login page? I will do some tests and file our issue to the development team for further improvement.

  • nicoulaj
    nicoulaj
    Community Member
    Options

    Hello @Nhat_Nguyen,

    There is no publicly accessible login page, this is a software you have to deploy locally. You can easily run a local instance in Docker by following these instructions: https://goauthentik.io/docs/installation/docker-compose , then go to http://localhost:9000/if/flow/initial-setup/

  • kalanthes
    kalanthes
    Community Member
    Options

    This would be great if this will work.
    But I think this is a problem on the site.

    @Nhat_Nguyen : I can give you the link to my auth-site to test. Can you send me an email to the address in my profile? I don't want to make the link public.

  • nicoulaj
    nicoulaj
    Community Member
    Options

    For the record, I also started a discussion on authentik project side here: https://github.com/goauthentik/authentik/discussions/2419

  • kalanthes
    kalanthes
    Community Member
    Options

    I finally took a look at this and got it working:

    in the admin-GUI of authentik go to "Stages & Flows" -> "Flows" -> edit "default-authentication-flow" and enable "Compatibility mode"

  • Hi @kalanthes:

    I'm glad to hear you were able to find a solution!

    @nicoulaj:

    Were you able to use the compatibility mode mentioned to improve the state of play for you? Let me know!

    Jack

  • eddieroger
    eddieroger
    Community Member
    Options

    I landed here after having the same issue, and enabling compatibility mode did the trick for me, for what it's worth. Thanks to @kalanthes for the tip!

This discussion has been closed.