Extra Horizon
GitHub
  • Extra Horizon Documentation
  • Getting Started
    • Start familiarizing yourself
  • Tutorials
    • Medical Device Tutorial
      • Preparation
      • Build your first prototype
        • Define a data model
        • Configure your workflows
          • Workflow 1: Analyze a measurement
          • Workflow 2: Create & store a PDF report
          • Workflow 3: Send an e-mail
        • Define your permissions
          • Update your schema with user permissions
          • Update your schema with group permissions
        • Build the Front-End
          • Set up oAuth in your backend
          • Demo login page
      • Summary & Wrap up
    • Polysomnography (PSG) Tutorial
    • Retool - Building dashboards Tutorial
  • FAQ
    • General
  • Services
    • Identity and Access Management
      • User service
        • Users
        • Groups
        • Global roles
        • Configuration
      • Auth Service
        • Applications
        • OAuth2
        • OAuth1
        • MFA
        • OpenID Connect
          • Google Cloud
          • Azure ADFS
    • Data Management
      • File Service
      • Data Service
        • Schemas
        • Documents
        • FAQ Data Service
    • Automation
      • Task Service
        • Functions
        • Tasks
        • API Functions
        • Examples
          • Hello world (JS)
          • Hello world (Py)
          • Hello world (Docker)
        • FAQ
      • Dispatchers Service
      • Event Service
        • System Events
    • Communication
      • Notification Service
        • Notifications
        • Settings
      • Mail Service
    • Other
      • Localization Service
        • Language Codes
      • Template Service
        • Localizations
      • Payments Service
        • Subscriptions
        • Stripe
        • iOS App Store
      • Configurations Service
  • API Reference
    • OpenAPI Specifications
    • 📦Changelog
      • Per-service Changelog
    • Postman Reference Collection
  • Tools
    • SDK
    • CLI
    • Control Center
  • Additional Resources
    • Resource Query Language (RQL)
    • Handling Errors
    • GitHub
    • API interaction (Python)
    • Migration guide: Enabling verification request limiting
  • ExH Platform
    • 🙋Support
    • ⏱️Usage and Performance
    • 🔓Security
    • 🗺️Regions
    • ⚖️Cloud Subscription Agreement
    • 🇺🇸CFR 21 Part 11
Powered by GitBook
On this page

Was this helpful?

  1. Services
  2. Identity and Access Management
  3. Auth Service

Applications

Create and manage OAuth 1 or OAuth 2 applications

PreviousAuth ServiceNextOAuth2

Last updated 8 months ago

Was this helpful?

Applications represent your mobile, native, web apps or even a script that can communicate with an Extra Horizon environment. Any token used for authenticating with your Extra Horizon cluster will be linked to an application.

Before you can get started with building any frontend app on top of Extra Horizon you will need to create an app.

Default applications When launching a new cluster two default applications are created by us:

  1. ExH Control center: An OAuth 2 app that gives our control center (available on ) the ability to communicate with your cluster. You as an admin can use this app to explore and manage your cluster.

  2. CLI: An OAuth 1 application that you can use when installing our in order to send configurations to your cluster. Credentials are provided to your cluster manager during onboarding.

Create a new application

You can create two types of applications: applications or applications.

Property
Description

name

The name or your application

description

A description of your application

type

The type of application. Could be set to oauth1 or oauth2

redirectUris

confidential

logo

The logo of the application. Can be used in the OAuth 2 authorization code grant to indicate the user what application he is authorizing. Can only be used in an OAuth 2 application type.

await exh.auth.applications.create({
  type: 'oauth1',
  name: 'myAppName',
  description: 'myAppDescription'
});
await exh.auth.applications.create({
  type: 'oauth2',
  name: 'myAppName',
  description: 'myAppDescription',
  redirectUris: [''],
  confidential: false
});

A list of approved uri's that can be used when authenticating with an . Can only be used in an oAuth2 application type.

Defines whether your application should be considered a confidential app according to the .

app.extrahorizon.com
CLI
OAuth 1
OAuth 2
authorization code grant flow
OAuth 2 spec