Apologies if this has already been solved. I've searched and read all posts that I thought would match.
We have a multi-user windows application with SQL Server back-end and a separate Discourse instance. We don't use SSO or OAuth.
We want to automatically provision Discourse users from our application.
It looks like we can use the API to do this and auto-generate API Keys for each user, and store the API key in the database against the user record.
We now want to have a menu option (in the windows application) that will launch the default browser and use the logged in user (and api_key) to automatically log into Discourse for that user.
Does anyone know what mechanism can be used to achieve this?
What endpoint can be used?
Many thanks for any assistance that can be given.