Skip to content

Simple OIDC provider which accepts all logins and creates a ID token (for testing purposes)

License

Notifications You must be signed in to change notification settings

pulsejet/stub-oidc-provider

 
 

Repository files navigation

Build Status

stub-oidc-provider

A simple OpenID Connect identity provider with stubbed login (i.e. accepts all logins). Based on the great NodeJS module oidc-provider.

The ID token returned from the provider mimics the ID token from ID-Porten, with the obvious exception of the signing key and issuer values.

Please note that this should only be used in test or local environments as the keys used to sign the token are readily available here in the source code.

Usage

The stub-oidc-provider has been deployed as an Azure AppService (https://docs.microsoft.com/en-us/azure/app-service/containers/tutorial-custom-docker-image) and its metadata is available on:

For NAV IKT users the stub-oidc-provider will never be used directly (with the exception of the actual user interaction). It has however been configured as an Identity Provider in test environments so that users can choose to use this provider for test purposes.

If you want to test the provider and see the contents of the ID token you can hit this link:

About

Simple OIDC provider which accepts all logins and creates a ID token (for testing purposes)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • JavaScript 72.9%
  • HTML 26.2%
  • Dockerfile 0.9%