I'm just diving into the world of javascript frameworks (late to the party I know) and can't figure out the missing piece of the authentication puzzle.
What is the preferred way to authenticate users from a Vue or any other javascript app running from element API? My Craft install and the app will be on separate domains.
Is it best to just push them to the craft install to log in then rely on sessions (is this secure?), or is there a preferred way? I have seen JWT's mentioned a few times, but guessing this will be tricky for a non-developer.