My web app has a bookmarklet feature similar to that of Pocket in that while you are visiting any webpage, if you click the bookmarklet, it will save that page to your account for later viewing.
Also similar to Pocket, you must be signed in for it to work, otherwise it won't know which account to save it to and it will prompt you to log in.
I have my web app already set up so that when you visit my domain it knows if you are logged in or logged out, but my problem with the bookmarklet is that it doesn't have access to the auth data from my web app's domain, so the bookmarklet think it's not logged in.
What do I need to do for my bookmarklet to know if the user has already been logged in or not?
Aucun commentaire:
Enregistrer un commentaire