• Robert Knight's avatar
    Get OAuth authorization and revocation endpoints from /api/links · e05ba783
    Robert Knight authored
    Use the "apiRoutes" service to get the URLs of the `/oauth/authorize`
    and `/oauth/revoke` endpoints from `/api/links` instead of from
    "oauthAuthorizeUrl" and "oauthRevokeUrl" in app settings.
    
    This makes the client's behavior more consistent in terms of getting all
    links to pages within the service from the `/api/links` route.
    
    It also paves the way to enabling the client to use multiple annotation
    services, each of which is defined by a single entrypoint (the `/api`
    route) from which all other API routes and links into the service are
    obtained.
    e05ba783
Name
Last commit
Last update
.github Loading commit data...
docs Loading commit data...
images Loading commit data...
scripts Loading commit data...
src Loading commit data...
.babelrc Loading commit data...
.eslintignore Loading commit data...
.eslintrc Loading commit data...
.gitignore Loading commit data...
.npmignore Loading commit data...
.npmrc Loading commit data...
.travis.yml Loading commit data...
CHANGELOG.md Loading commit data...
CODE_OF_CONDUCT Loading commit data...
Jenkinsfile Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
gulpfile.js Loading commit data...
package-lock.json Loading commit data...
package.json Loading commit data...
requirements-dev.in Loading commit data...
yarn.lock Loading commit data...