Generating a login email via API

In this case the proper solution would be a invisible login setup using DiscourseConnect.

Have you tried:

curl -X POST https://meta.discourse.org/u/email-login \
-H "Api-Key: longapikeyhere" \
-H "Api-Username: system" \
--data-raw 'login=email%40gmail.com'

?

1 Like