Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.
/ stub-oidc-provider Public archive

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

navikt/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)

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages