Skip to content

pcider/auto-login-otp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Auto Login & OTP

Because my university's login page is so annoying.

Installation & Usage:

Install Tampermonkey and then click this link to install it.

By default, the script will not autofill values if you leave them blank in the script.

To use the autofill functionality, edit in the values shown below in sutd-auto-login.user.js. If your browser already autofills for you, you can leave it empty. (better to not put your passwords in scripts!)

You can access the script editor by clicking on Tampermonkey's icon (to the right of the URL textbox) > Dashboard > Auto Login & OTP. Now you can fill in the appropriate values.

// leave empty if you dont want the script to autofill for you
const USERNAME = '<STUDENT_ID>';        
const PASSWORD = '<PASSWORD>';

// in your authenticator app, you should get a URL like
// "otpauth://totp/ease.sutd.edu.sg:<STUDENT_ID>?secret=<SECRET>&issuer=ease.sutd.edu.sg"
// input the <SECRET> part of the URL here.
// leave empty if you dont want the script to autofill for you
const TOTP_SECRET = '<SECRET>';

About

my universities login portal is annoying

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors