Jump to content

2 apps, 1 domain


Recommended Posts

I've got my own app (a Nuxtjs based magazine site) on the same domain as IPS & I'm trying to check from Nuxt if the user is logged in to IPS & get their ID so I can use it to make sure they only submit a form (a vote) once.

The cookie that holds the ID is HttpOnly so I can't get it from Javascript, the cookie will be passed to the Nuxt app because it's on the same domain, just in different folders.

Is there another call I can make on the API that returns any info about the logged in user? I don't really want to have to add oath because then they'd have to log in to the same app twice which would be a pain.

Any ideas?

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...