How to unenroll an enterprise user from 2FA
Bookmarklet
- Create a new bookmark in your browser (right click on bookmarks bar and click “Add page…” in Chrome.)
- For
Nameenter (“Unenroll Enterprise User from 2fa”). - For
URL, copy and paste the contents from this file. - Click “Save”
- Now open a User in Settings and click on the bookmarklet, it should remove them from 2fa and popup a message giving the result.
Manual steps
- Go to their profile in the
Settingsapplication. - You’ll see their
userIdin the url. (Example:https://banno.com/a/settings/6679/users/42855cf0-45e2-1031-88f9-ef7c388f3e0b). Note this piece42855cf0-45e2-1031-88f9-ef7c388f3e0bis theuserId. - Right click the on the background of the webpage and then click
Inspect - A new window pane will open up on the side.
- In that pane up above theirs some menu items these will be
Elements,Console,Sources, etc… - Click the menu item that says
Console - Click next to the
>that shows up to be able to type into that section. - Copy and paste this code:
fetch("https://banno.com/a/auth/api/out-of-band/<USER_ID>",{method:"delete"}) - Replace the
<USER_ID>section with the userId you found above. - Press enter to execute the command. It will show up as
[Promise]. - You can open up this by clicking the triangle and expanding out the object till you find
status: 200which will show you it completed successfully.
Source: GitHub