Looking for correct way to log a user into Chrome extension - and check that they are still logged in

ยกเลิก โพสต์แล้ว 5 ปีที่ผ่านมา ชำระเงินเมื่อจัดส่ง
ยกเลิก ชำระเงินเมื่อจัดส่ง

I have a chrome extension i am building.

In it I am performing a basic authentication against an API (laravel Passport/Spark) to see whether the user is logged in, this API returns a JWT token which is getting stored in [login to view URL]

From the chrome extension i want to check if that user is logged in (does the token exist) and if so then show the logged in version of the code.

The issue i am hitting is that the page uses jquery, and it means the jquery is already loaded before the ajax call is fired to check the authentication. so the page stops working

I need the login system working properly to authenticate securely. and maintain the logged in state - as well as periodically checking that the login is still valid.

Google Chrome JavaScript jQuery / Prototype Laravel PHP

หมายเลขโปรเจค: #18462007

เกี่ยวกับโปรเจกต์

5 ข้อเสนอ โปรเจกต์ระยะไกล ใช้งาน %project.latestActivity_relativeTime|แทนที่%

freelancer 5 คน กำลังเสนอราคาในงานนี้ โดยมีราคาเฉลี่ยอยู่ที่ €33

vermashekhar484

Hey, I'm interested in your project. Can you please clear more about "The issue i am hitting is that the page uses jquery, and it means the jquery is already loaded before the ajax call is fired to check the authen เพิ่มเติม

€24 EUR ใน 1 วัน
(7 รีวิว)
4.0
swappitweb

Hello Client, Thank you for the opportunity. I'm the lead developer of Swappit Solution. As per your requirement, I would like to tell you that we have a very strong experience of more then 7 years in the fi เพิ่มเติม

€25 EUR ใน 1 วัน
(7 รีวิว)
1.4