Smartschool Autologin (ONLY WORKS IF LOGIN WITH GOOGLE IS ENABLED)

Automatically log in using Google SSO (if enabled) if no username or password is entered. Stops if a manual login is attempted.

Author
loser.dev
Daily installs
0
Total installs
5
Ratings
0 0 0
Version
1.0
Created
2024-10-18
Updated
2024-10-18
Size
3.15 KB
License
MIT
Applies to

Smartschool Autologin (ONLY WORKS IF LOGIN WITH GOOGLE IS ENABLED)

Description

This userscript automatically logs you into Smartschool via Google SSO, provided Google login is enabled and no username or password has been entered manually. It simplifies the login process by eliminating the need for repeated manual logins, while still allowing manual login for different accounts when needed.

Features

  • Auto-login via Google SSO: If the username and password fields are left blank, the script will automatically redirect to the Google SSO login page.
  • Manual Login Support: If you manually enter a username or password, the script will not auto-login via Google SSO.
  • Logout Detection: When you log out, the script prevents auto-login to allow for logging in with a different account, or taking a break from the session.
  • Button Behavior: Clicking the "Aanmelden" button with empty fields will also trigger a Google SSO login, so no need to refresh the page to trigger autologin.

Known Issues

  • This script only works if Google SSO is enabled for your Smartschool account.
  • If there are issues with Google SSO login (e.g., service unavailable), you may need to disable the script to log in manually.

Support

If you encounter any issues or have suggestions, feel free to contact me on Discord: .lo5r I'm also in the Smartschool++ server, so you can find me in there.