Generic OAuth2.0 client
Our API is compatible with any standard Oauth2 client. If you want to use a standard client, you will have to specify the following settings:
# Authorization URL
https://mybraincube.com/sso-server/vendors/braincube/authorize.jsp
# Token URL
https://mybraincube.com/sso-server/ws/oauth2/token
# User Information URL
https://mybraincube.com/sso-server/ws/oauth2/me
The structure returned by the user information URL is a JSON with the following structure:
{
"allowedProducts":
[
{"id":"xxx","name":"1st product"},
{"id":"yyy","name":"2nd product"},
...
],
"userEmail":"user@email.com",
"userFullName":"User Name"
}