Auto-login on admin page, if browser plugin is configured #8

Closed
opened 2023-02-27 12:05:28 +01:00 by leon · 1 comment
leon commented 2023-02-27 12:05:28 +01:00 (Migrated from git.leon.wtf)

Idea 1:

  • Extension adds a div with api key to the admin page
  • Admin page queries this div with deferred JS
  • Admin page performs login with this token
  • Profit

Idea 2:

  • Browser addon adds Cookie (might be impossible due to HttpOnly?)

Idea 3 (wahrscheinlich am besten, quasi autofillen):

  • If at /admin/login autofill password field
  • Submit form
Idea 1: - Extension adds a div with api key to the admin page - Admin page queries this div with deferred JS - Admin page performs login with this token - Profit Idea 2: - Browser addon adds Cookie (might be impossible due to HttpOnly?) Idea 3 (wahrscheinlich am besten, quasi autofillen): - If at /admin/login autofill password field - Submit form
leon commented 2023-02-27 12:48:12 +01:00 (Migrated from git.leon.wtf)

changed the description

changed the description
leon (Migrated from git.leon.wtf) closed this issue 2023-02-27 14:20:04 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
leon/cloudflare-workers-url-shortener#8
No description provided.