Skip to content

Authorization Docs Service

Allan Kerr edited this page Jan 3, 2018 · 7 revisions

Authorization / Identity Service Documentation

The authorization and identity service provides the services for creating accounts and authorizing accounts. This is done using OAuth2 for authorization along with additional endpoints for managing user identity.

Configuration

Development

No configuration is required for developing an API to be deployed using Express.

Production

For production, a confidential system secret, client identifier, and client secret should be provided. This can be done by modifying the Express Helm values.yaml.

authorization:
  config:
    # The secret key used for hashing
    system_secret: 4683F9F226766DF9165B51B56988F749

    # The OAuth2 client identifier and secret used for the login and register endpoints
    client_id: admin
    client_secret: demo-password

Command Line Interface

The authorization and identity service provides a command line interface for operations that only administrators can perform. This includes creating new OAuth2 clients, adding scopes to OAuth2 clients and adding scopes to user profiles.

HTTP Endpoints

The authorization and identity service provides an HTTP interface for obtaining, revoking and verifying access tokens and creating and signing in to user accounts. These endpoints are exposed to the public and accessible at /oauth2/*.

Clone this wiki locally