Oauth2 headache

34 views
Skip to first unread message

Gretchen Bronstein

unread,
Nov 2, 2018, 7:20:11 PM11/2/18
to hmis-api
Hi, is it possible to access the API with a rest client? I have RestSharp for C#. having trouble with the Oauth2.  Been reading through documentation here:  https://github.com/servinglynk/hslynk-open-source-docs/wiki/HSLynk-Platform-OAUTH-documentation
For server web app, it's telling me to launch a browser??  

From the documentation:
.2 The user is prompted to authorize the Trusted App (aka client)
If the user is not logged-in into HMISLynk, He/She will be prompted (via the browser) to log-in.
If the user has not already authorized the Trusted App, He/She will be prompted (via the browser) to authorize the Trusted App. This process is called "user consent".

I need to accomplish the authentication without user intervention.  

Thank you! Gret

Eric Jahn

unread,
Nov 5, 2018, 5:08:33 PM11/5/18
to hmis-api
Hello Gretchen, 
As of now we don't have a capability for trusted applications to get authenticated to our HMIS application without prompting them to our OAuth credential/login page. We're discussing a feature within our team and have created an issue to address this requirement: https://github.com/servinglynk/hslynk-open-source-docs/issues/632 .  -Eric Jahn, hslynk.com

Eric Jahn

unread,
Aug 18, 2019, 1:25:42 PM8/18/19
to hmis-api
Gretchen, it is now possible.  Here are the APIs for a client credentials grant authorization workflow: https://api.hslynk.com/?urls.primaryName=Authorization%20Service%20Api .  This was squashed with this issue resolution: https://github.com/servinglynk/hslynk-open-source-docs/issues/632 .  Please let me know if you have any further questions. Thanks!  -Eric


On Friday, November 2, 2018 at 7:20:11 PM UTC-4, Gretchen Bronstein wrote:
Reply all
Reply to author
Forward
0 new messages