We would want to use the user agent flow for our desktop application that we connect to Salesforce via the REST API.
Does anyone have somewhere a working java example of this or point me in the good direction with more information on how this works for desktop applications? Most information that I find is about web applications connecting to Salesforce but not so much for desktop apps.
Thanks in advance!