{"id":11406079,"date":"2019-04-09T02:41:15","date_gmt":"2019-04-09T02:41:15","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/authenticate-without-password-programatically\/"},"modified":"2019-04-09T02:41:15","modified_gmt":"2019-04-09T02:41:15","slug":"authenticate-without-password-programatically","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/authenticate-without-password-programatically\/","title":{"rendered":"Authenticate Without Password (Programatically)"},"content":{"rendered":"<p>Hey there,<\/p>\n<p>I have an endpoint which creates new users, and I would like the response to be a token from JWT Auth.<\/p>\n<p>This is important for me so that i&#8217;m not transmitting plain text passwords back to the client (for auto generated passwords) and then can automatically log them in.<\/p>\n<p>Is there any functionality to programatically log in a user?<\/p>\n<p>Cheers<br \/>\nAdam<\/p>\n","protected":false},"template":"","class_list":["post-11406079","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/11406079","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/11406079\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=11406079"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}