English [PHP]ConnectED - USGN Login icon

05.04.21 01:00:48 am
3 kb, 413 Downloads
Super User
Offline Off
Long ago, I wanted to create something like this.

There is is a similar upload already, however, this one I believe is a much more modern coding as well as provides a bit more function for your needs and comes with a responsive design as well.

> Features:

• Built with TailwindCSS 3.0.24 (uses CDN)
• Hash generated by timestamp using SHA256 Encryption
• USGN & Accesskey Stored in cookies cookies
• Username
• Data (avatar, user mode, country)

> Requirements:
• Any webserver like nginx, Apache
• PHP 5.1.2+, PHP 7, PHP 8, PECL hash >= 1.1
• Modern web-browser in case you using TailwindCSS

> Configuration:
Configure index.php:18 line to your own website/domain

> How can be used?

1. Users enter their USGN ID
2. They confirm ownership
3. Get redirected and authorized.

Users can logout using logout.php (which destroys cookies)


> 2022.05.31.

FIXED Logout wasn't working properly
FIXED Security issue for login
ADDED Registration Date support
ADDED Country flag and name support
CHANGED Tailwind updated to 3.0.24 and always using the latest

> 2021.10.24.

ADDED Checking if "accesskey" and "usgn" cookies are set for security reasons. Thanks for @user Skripter5000:
CHANGED The form now only allows numeric inputs.

∗ Where possible USGN ID is fetched by cookies to save traffic ∗
edited 8×, last 31.05.22 07:54:06 pm
ok This file has been reviewed and approved by SQ (05.04.21 01:32:47 am)


Goto Page
To the start Previous 1 Next To the start

Log in!

You need to log in to be able to write comments!Log in
16.04.21 08:38:27 am
Super User
Offline Off
@user Skripter5000: It can be fixed easily, I might missed that part.

edited 1×, last 26.10.21 09:39:30 am
15.04.21 11:07:05 pm
Offline Off
this should not be used ; there is no check if the key is empty, because then the API will always return 1.
To the start Previous 1 Next To the start