OAuth Redirect Authorization Code Flow in NERIS #45
Replies: 3 comments 3 replies
|
I would suggest this link too: https://neris.atlassian.net/servicedesk/customer/portal/3/article/268861475?source=search If I am track what you asking -- the OAuth2 workflow is to connect your RMS software to the NERIS API -- a customers/users credentials are not directly involved in the workflow. An user with proper authorization for a particular entity can use their user/pass credentials to generate a client ID/secret either via the API or through the NERIS user interface. The client ID/secret are then exchanged via the API for access token/refresh token that allow you to maintain authentication. Enrollment of your client ID by an authn/authz user of that entity gives your integration permission to exchange data for that entity's NERIS ID. |
|
As I can understand with our conversation this workflow does not exist at the moment and the expected way is for the department to do the enrolment on their NERIS account only. <-- yes this is correct. |
Uh oh!
There was an error while loading. Please reload this page.
The current OAuth2 workflow outlined in the this discussion puts the burden of accepting the user's credentials on the RMS' UI using the 'password' grant workflow. IMHO, This doesn't seem like the most secure workflow.
AFAIK, redirect-based auth code flows are the most secure method to authenticate a user and then perform an action on their behalf, like creating an integration. Are there plans to introduce an 'Authorization Code Flow' type mechanism that allows us (the RMS) to redirect the user to NERIS', allow them to enter their credentials securely and authenticate, and then redirect back to our software giving us the token and refresh token which then we can use to create an integration and sync their stations and units, etc.
P.S. I've only gone through the ReDoc documentation as well as the discussion forum so far. So if I have to look at some other documentation, please suggest.
All reactions