Skip to content

A mock server providing OpenID Connect (OIDC) flows for local development and testing. DO NOT USE IN PRODUCTION!

License

Notifications You must be signed in to change notification settings

magnolia-cms/mock-oidc-user-server

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mock-oidc-user-server

Build_Status Docker Repository on Quay

WARNING: DO NOT USE IN PRODUCTION

A mock user server providing OpenID Connect (OIDC) flows for development and testing.

Uses the excellent node-oidc-provider, which comes with dev interactions/flows out of the box (OIDC compliant). Any username and password combination is permitted for logging in, making this very useful for development and CI.

Usage

Example usage via Docker Compose:

version: '3.7'
services:
  mock_user_service:
    image: quay.io/appvia/mock-oidc-user-server:v0.0.2
    environment:
      - PORT=9090
      - HOST=localhost
      - CLIENT_ID=my-client
      - CLIENT_SECRET=my-secret
      - CLIENT_REDIRECT_URI=http://localhost:8080/cb
      - CLIENT_LOGOUT_REDIRECT_URI=http://localhost:8080
    ports:
      - 9090:9090

Dev

Prerequisites:

  • NodeJS (v10.15.0+)
  • Yarn

To install dependencies:

yarn install

To build the Docker image locally:

docker build -t mock-oidc-user-server .

About

A mock server providing OpenID Connect (OIDC) flows for local development and testing. DO NOT USE IN PRODUCTION!

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 76.5%
  • Dockerfile 23.5%