Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Primary endpoints

Authorization endpoint:

https://vno-account.cochrane.org/${KEYCLOAK_BASEURL}/auth/realms/cochrane/protocol/openid-connect/auth


Token endpoint:

https://vno-account.cochrane.org/${KEYCLOAK_BASEURL}/auth/realms/cochrane/protocol/openid-connect/token

...

The access token must be passed to the API in the Authorization header, e.g.:

GET  ${ARCHIE_HOSTNAMEBASEURL}/oauth2/permissions HTTP/1.1

...

As another example, the API contains a method to get the user's permissions for a single review:

GET  ${ARCHIE_HOSTNAMEBASEURL}/rest/reviews/CD000004/permissions HTTP/1.1

...