Applications

Create and manage OAuth 1 or OAuth 2 applications

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.

Create a new application

You can create two types of applications: OAuth 1 applications or OAuth 2 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'
});

Last updated

Was this helpful?