Skip to main content
Version: v1.7


To install the JavaScript SDK, run:

npm install --save @oryd/hydra-client


Basic configuration#

import { AdminApi } from '@oryd/hydra-client'
// Set this to Hydra's URLconst hydraAdmin = new AdminApi('http://localhost:4445')

API Usage#

hydraAdmin.listOAuth2Clients(10, 0).then(({ body }) => {  body.forEach((client) => {    console.log(client)  })})

API Docs#

API docs are available here. Please note that those docs are generated and may introduce bugs if code examples are used 1:1. Especially the package name is not correct.