A chrome extension which generates the Time based one time password from the auth token and injects that in the login form and submits. This is a chrome extension which can be installed from the source.
- Clone the current project to your local machine:
$ git clone https://github.com/amitasviper/Auto-CAS-Login-ChromeExtension
- Copy file manifest-copy.json into manifest.json and specify the url in the manifest.json file where the extension should try auto login
$ cp manifest-copy.json manifest.json
- Open
chrome://extensions/
in your chrome browser: - Check
Developer mode
checkbox - Click on
Load Unpacked extension
and give the local path of the repository you cloned in step 1. - A small extenion icon will appear. Click on that icon and set your username and auth token and save the settings.
- Open the website where you want to autologin.