Hi, I'm trying to authenticate an user to my application using an user from OpenClinica through OAuth2, but I'm little confused.
I have read this document https://docs.openclinica.com/3.1/technical-documents/rest-api-specifications/oauth-and-openclinica
and I follow this steps in my application:
1. When the user call the REDIR_URI, my application redirect to: MyOCInstall/oauth/user/authorize?client_id=designer&redirect_uri=REDIR_URI&response_type=code
2. OC redirect to: REDIR_URI&code=CODE
3. My application reads the code and calls: MyOCInstall/oauth/authorize?client_id=designer&redirect_uri=REDIR_URI&code=CODE
4. From OpenClinica obtains this JSON:
But now if I want to obtain from OpenClinica the user account data what I have to do?