Login via outside ghost

Let’s say i want to build my own custom login, for example for a linux app, or a mobile apo. how could i get the members login to work? I can’t find a login option on the api

Ghost only does magic links for logins. There’s an endpoint to send a magic link, but that’ll get the user authenticated in the browser when they click the link in email. Probably not what you want.

I’ve got some writing that may be related – it doesn’t have the answer to your question, but it might get you close: