GithubHelp home page GithubHelp logo

takaokataoka / koa-oidc-provider Goto Github PK

View Code? Open in Web Editor NEW

This project forked from saschazar21/koa-oidc-provider

0.0 0.0 0.0 725 KB

๐Ÿ” An OpenID Connect Provider solution using Nuxt/Koa

License: MIT License

JavaScript 65.47% CSS 8.60% Vue 25.29% Dockerfile 0.65%

koa-oidc-provider's Introduction

Build Status

koa-oidc-provider


Screenshot of koa-oidc-provider's dashboard


A fully configurable OpenID Connect Provider based on Nuxt/Koa for the masses.

A slightly more opinionated config-/frontend-wrapper around node-oidc-provider from @panva.

Prerequisites

  • Node.JS v8 (LTS: carbon) and above
  • MongoDB v3.4 and above (when running locally, services like mlab also work)
  • Redis v5 and above (when running locally, services like redislabs also work)

-- OR --

  • ๐Ÿณ Docker v17.09 CE and above (no extra setup needed, docker-compose.yml-file included)

Build Setup

CAUTION: Make sure to set the appropriate HOST environment variable. More information about variables may be found in the Variables section of the configuration document.

Building locally

# Clone project and change into directory
$ git clone https://github.com/saschazar21/koa-oidc-provider
$ cd koa-oidc-provider

# install dependencies
$ npm install # Or yarn install

# serve with hot reload at localhost:3000 - BE SURE TO SET APPROPRIATE HOST!
$ HOST=example.com npm run dev

# build for production and launch server - BE SURE TO SET APPROPRIATE HOST!
$ HOST=example.com npm run build
$ HOST=example.com npm start

Run using ๐Ÿณ Docker

# Clone project and change into directory
$ git clone https://github.com/saschazar21/koa-oidc-provider
$ cd koa-oidc-provider

# build koa-oidc-provider service with appropriate HOST setting
$ docker-compose build --build-arg HOST=example.com koa-oidc-provider

# launch docker compose setup
$ docker-compose up

Configuration

If you want to customize the default configuration to your needs, the full configuration options are explained in /docs/CONFIGURATION.md.

API

The documentation for the API to handle clients, tokens & users may be found under /docs/API.md.

Contribution

Contributors welcome!
If you have resolved an issue, or enhanced the project in any other way; please fork this repository, open up a pull request and drop me a line on twitter.

License

This project is licensed under the MIT license.

Version history

  • 0.1.0 - Initial version (unstable).

koa-oidc-provider's People

Contributors

saschazar21 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.