Help with Authenticating user via API

In another forum software i would use an API endpoint to submit login credentials from the JS client and get a response from the server with the session value which i would store in a cookie to validate subsequent requests…

Can someone clear up if this is possible with Discourse and how? I enjoy this stuff the least but i want the thrill of logging into my own app…which brings me here to ask this.



1 Like