Is it possible to get jwt token after sending magic link ?
it means when performing HTTP POST API send-magic-link, we can perform api to get jwt token.
I’m seeing there is a way to get token like this: Ghost/ghost/core/test/e2e-api/members/signin.test.js at main · TryGhost/Ghost · GitHub
there’s a signin_urls endpoint that’ll get you the necessary token.
Thank you.
yes signin_url can be received via email, but is there anyway to get the url from api ?
Yes. There’s an endpoint that returns it :)
That code looks to be outdated. It now takes token auth (I fixed it!), and user auth isn’t going to work now that the 2FA /device verification stuff is live. But yes, that’s the endpoint I meant. :)