Forum Discussion

captbackfire's avatar
captbackfire
New Contributor
4 months ago

Premature completion

I use a Microsoft 365 account, both personally and for work. I am having a terrible time with the authentication flow because 1Password automatically inputs the code for me in the interstitial screen (a benefit, to be sure), but its haste doesn't check, or allow me to check, the box that says "Don't ask again for 30 days". Checking this box is the only way to get the Microsoft KMSI to work when I have multiple profile browser windows open. Is there a way to have 1Password check this box for me by default (i.e., a boolean field that knows the ID or class of the checkbox)?

4 Replies

  • I've looked through the developer documentation, and I cannot see a type for checkbox. I looked at the JSON for my login to this community site, and it lists some form fields I filled out when signing up that had checkboxes listed as strings with checkmark characters for the value:

    {
          "id": "",
          "type": "STRING",
          "label": "custom.roleDeveloper",
          "value": "✓",
          "reference": "op://Private/1Password Support Community/custom.roleDeveloper"
    }

    I got this using the CLI:

    op item get "1Password Support Community" --format json > opcomm.json

    However, the schema for this JSON is different than the Copy item JSON menu option from the interface:

    {
            "value": "✓",
            "id": "RegistrationForm-custom.roleDeveloper",
            "name": "custom.roleDeveloper",
            "type": "C"
    }

    ^ THIS is the JSON I want to be able to modify, and specifically add a new field to. Here's why...

    When I export this JSON from my M365 entry, there's an extra little thing that acts like a tab order:

    {
            "value": "Sign in",
            "name": "",
            "type": "I",
            "id": "idSIButton9;opid=__11"
    }

    That "opid=", as best I can tell, sets an order of interaction with the form fields in the interface. I want to be able to add something like this (all field values taken from online sources and DOM inspection):

    {
          "value": "✓",
          "name": "rememberMFA",
          "type": "C",
          "id": "idChkBx_SAOTCC_TD;opid=__17"
    }

    The Catch 22 is: I don't see any way to do this.

    Please advise.

  • 1P_Timothy's avatar
    1P_Timothy
    Icon for Community Manager rankCommunity Manager

    Hi captbackfire​! Thanks for joining the Community.

    You can save box ticks on some sign in pages, but I'm not sure it will work with Microsoft 365 as I recall it being a multi-page sign in. What should help either way is disabling, or temporarily disabling "Sign in automatically after autofill" when accessing Microsoft 365. This will prevent 1Password from automatically moving through the sign in process. You can do so with these steps:

    1. Right click the 1Password icon in your browser's toolbar.
    2. Select Settings > Autofill & save.
    3. Turn "Sign in automatically after autofill" off.

     

    If you'd like to see if you can save the box tick as well, you can try the following:

    1. Open the Microsoft 365 login page.
    2. Type in or fill your Login information but don't login just yet.
    3. Check the "Don't ask again for 30 days" box.
    4. Right click the 1Password icon in your browser's toolbar, then click Save Login.
    5. Choose your existing login, then click Update.

     

    Let us know how that goes, and thanks again!

     

    • captbackfire's avatar
      captbackfire
      New Contributor

      I'm keeping this tab open to watch for when the next time this comes up so I can test your method. It would be nice if anyone out there had a successful label or ID for this box so I can try ticking it automatically next time from the jump. 

      Anyone have this in their M365 record? If so, what field type is it, what label do you have on that field, and what is the field's value?