Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
2 factor authentication
#4
Yes, it was several years ago, but not with GS directly, a custom approach with ItemManager:
https://ehret-studio.com/articles/itemma...anagement/
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
Reply


Messages In This Thread
2 factor authentication - by acenda - 2021-11-02, 01:33:17
RE: 2 factor authentication - by Felix - 2021-11-02, 09:19:03
RE: 2 factor authentication - by acenda - 2021-11-03, 05:51:12
RE: 2 factor authentication - by Bigin - 2021-11-03, 13:53:29
RE: 2 factor authentication - by acenda - 2021-11-04, 17:55:08
RE: 2 factor authentication - by Felix - 2021-11-10, 19:01:55
RE: 2 factor authentication - by Bigin - 2021-11-11, 02:13:47
RE: 2 factor authentication - by Felix - 2021-11-11, 04:29:04
RE: 2 factor authentication - by Bigin - 2021-11-11, 06:42:50
RE: 2 factor authentication - by Felix - 2021-11-11, 04:40:11
RE: 2 factor authentication - by Felix - 2021-11-11, 07:18:22



Users browsing this thread: 1 Guest(s)