2021-11-03, 13:53:29
Yes, it was several years ago, but not with GS directly, a custom approach with ItemManager:
https://ehret-studio.com/articles/itemmanager/creating-user-management/
If it necessarily has to be a GS admin access, you can use this method and generate a session cookie for GS access manually on successful registration/login.
Also, there I used an access key, but no timestamp for its expiration time. This is not a problem, you can use a user object's modification date for this purpose.
Here's a demonstration:
https://demos.ehret-studio.com/user-admin/user/
Note, I used mail() in my example, but you should go with SMTP.
GitHub repo:
https://github.com/bigin/IM-UserManager/tree/master
https://ehret-studio.com/articles/itemmanager/creating-user-management/
If it necessarily has to be a GS admin access, you can use this method and generate a session cookie for GS access manually on successful registration/login.
Also, there I used an access key, but no timestamp for its expiration time. This is not a problem, you can use a user object's modification date for this purpose.
Here's a demonstration:
https://demos.ehret-studio.com/user-admin/user/
Note, I used mail() in my example, but you should go with SMTP.
GitHub repo:
https://github.com/bigin/IM-UserManager/tree/master