{"id":25597177,"url":"https://github.com/sashajenner/byebyeokta","last_synced_at":"2026-03-09T08:31:21.773Z","repository":{"id":96799068,"uuid":"404316830","full_name":"sashajenner/byebyeokta","owner":"sashajenner","description":"automate okta verify and throw your phone in the bin","archived":false,"fork":false,"pushed_at":"2022-10-12T23:03:07.000Z","size":998,"stargazers_count":11,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-20T03:51:26.389Z","etag":null,"topics":["automation","oath-totp","okta","qutebrowser-userscripts","usyd"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sashajenner.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-09-08T11:11:33.000Z","updated_at":"2025-01-10T23:33:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"cad7ddf4-3389-4451-b492-26938d521f06","html_url":"https://github.com/sashajenner/byebyeokta","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sashajenner/byebyeokta","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sashajenner%2Fbyebyeokta","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sashajenner%2Fbyebyeokta/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sashajenner%2Fbyebyeokta/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sashajenner%2Fbyebyeokta/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sashajenner","download_url":"https://codeload.github.com/sashajenner/byebyeokta/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sashajenner%2Fbyebyeokta/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30287811,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T02:57:19.223Z","status":"ssl_error","status_checked_at":"2026-03-09T02:56:26.373Z","response_time":61,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","oath-totp","okta","qutebrowser-userscripts","usyd"],"created_at":"2025-02-21T12:47:59.047Z","updated_at":"2026-03-09T08:31:21.765Z","avatar_url":"https://github.com/sashajenner.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"bye bye okta\n============\nThis is a manual on how to login through Okta portals without a phone.\n\n\nRequirements\n------------\nInstall pass-otp from https://github.com/tadfisher/pass-otp#installation .\n\n\nSteps\n-----\nIf you already have multifactor authentication set up, start with step 1.\n\nOtherwise, login up to the point where it asks you to \"Set up\n(two-|multi)factor authentication\", and go to step 4.\n\n1. Login to your organisation's Okta settings. The url is typically of the\n   form https://OKTA_HOME_PAGE/enduser/settings.\n\nFor example,\n- The University of Sydney: https://sso.sydney.edu.au/enduser/settings\n- Garvan: https://garvan.okta.com/enduser/settings\n\nIf you know any others, please let me know.\n\n2. Scroll to \"Extra Verification\". This is typically at the bottom on the\n   right.\n\n3. If you already have Okta Verify or Google Authenticator set up with your\n   organisation, remove it.\n\n4. Retrieve the secret one-time password (OTP) key.\n\n4.1. Click \"Set up\" next to \"Okta Verify\".\n4.2. If a button appears, click it. It may say \"Configure factor\" or \"Set up\".\n4.3. Click \"iPhone\" or \"Android\". It doesn't matter which one you pick, you\n  won't be needing a phone.\n4.4. Click \"Next\".\n4.5. Click \"Can't scan?\".\n4.6. Click the first dropdown menu and select \"Setup manually without push\n  notification\".\n4.7. Copy the greyed out secret key to your clipboard.\n\n5. Create the OTP generator by running the following command, replacing\n   OTP_NAME with a name of your choosing. Paste the secret key when prompted.\n\n    pass otp insert -esi byebyeokta OTP_NAME\n\n6. Generate the OTP by running the following command.\n\n    pass otp OTP_NAME\n\nCopy the output. Alternatively, use the `-c` option to copy it directly.\n\n    pass otp -c OTP_NAME\n\n7. Enter the OTP.\n\n7.1. Click \"Next\".\n7.2. Paste the number in the \"Enter Code\" text box.\n7.3. Click \"Verify\" to finish the setup.\n7.4. You may have to click \"Finish\" as well.\n\n8. Now, whenever you are required to enter the OTP code in the future, simply\n   generate it by following step 6.\n\n\nAuthenticator App\n-----------------\nAdd the secret key to a OTP authenticator app. This is useful if you need to\nuse a different computer and don't have access to one which you set up pass-otp\nwith.\n\n9.1. Find a way to add a new account by entering the secret key manually into\n  the app. If you have lost the key, run the following command to retrieve it.\n\n    pass OTP_NAME | awk -F '[=\u0026]' '{print $2}'\n\nFor the Okta Verify app, do the following.\n9.1.1. Press the \"+\" button in the top-right corner.\n9.1.2. Press \"Other\".\n9.1.3. Press \"Enter Key Manually\".\n9.1.4. Type an Account Name of your choosing.\n9.1.5. Type in the secret key.\n9.1.6. Press \"Done\".\nFor the Google Authenticator app, follow similar steps.\n\n9.2. Confirm you get the same codes on your phone as when following step 6. If\n  not, you may have misspelled the secret key, in which case try again from\n  step 9.1.\n9.3. If you have an old account on a OTP authenticator app which you removed in\n  step 3 you can remove it from the app.\n\n\nAutomating\n----------\nThe goal is to auto fill and submit once prompted to enter the OTP code.\n\nIf you know a neat way of doing this in Chrome or Firefox, please let me know.\n\nFor qutebrowser, consider binding a key chain to the `submit_otp_qute.sh`\nuserscript.\n\n10.1. Copy the script from this repository to your qutebrowser userscripts.\n\n    git clone git@github.com:sashajenner/byebyeokta.git\n    mkdir -p ~/.local/share/qutebrowser/userscripts\n    cp byebyeokta/submit_otp_qute.sh ~/.local/share/qutebrowser/userscripts\n\n10.2. You can bind it to `,p` by using the following command in qutebrowser.\n\n    :bind ,p spawn --userscript submit_otp_qute.sh OTP_NAME\n\n10.3. Test it out.\n10.3.1. Navigate to a page which requires you to enter the OTP code.\n10.3.2. In normal mode type `,p` or enter the following command.\n\n    :spawn --userscript submit_otp_qute.sh OTP_NAME\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsashajenner%2Fbyebyeokta","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsashajenner%2Fbyebyeokta","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsashajenner%2Fbyebyeokta/lists"}