Skip to content

hammock-studio/hydra-dashboard

Repository files navigation

Hydra Dashboard

CircleCI

Implementation of full OAuth2 flow of login and consent with clients and users management. Based on ory hydra as authorization server.

eco system review

configuration

create .env file

$ mv .env.example .env

system default environment variables:

PG_USERNAME='hydra'
PG_DATABASE='hydra'
PG_HOST='localhost'
PG_TEST_USERNAME='hydra'
PG_TEST_PASSWORD='secret'
PG_TEST_DATABASE='hydra_test'
PG_TEST_HOST='localhost'
HYDRA_DASHBOARD_CLIENT_ID='hydra-dashboard'
HYDRA_DASHBOARD_CLIENT_SECRET='hydra-dashboard-secret'
HYDRA_PUBLIC_URL='https://localhost:9000'
HYDRA_ADMIN_URL='https://localhost:9001'
HYDRA_CALLBACK_URI='http://localhost:3000/callback'
HYDRA_CONSENT_URL='http://localhost:3000'
NODE_TLS_REJECT_UNAUTHORIZED=0
API_VERSION=v1

up and running

The steps in this section are for running hydra server, see hydra-cloud README for remote server configuration.

prerequisites

make sure you got those installed:

  • docker (on local or remote server)
  • nodejs && npm

setup

  • clone hydra-cloud
$ git clone https://github.com/hammock-studio/hydra-cloud
  • run hydra server
$ make reset_hydra_local_to_local
  • clone hydra-dashboard
$ git clone https://github.com/hammock-studio/hydra-dashboard
  • run hydra dashboard server
$ npm install && npm start

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published