Skip to content

Development

Mocking

Libraries and Frameworks

Below is a list of some well-known and widely used libraries for handling OAuth, OpenID Connect, and token validation.

JVM

JavaScript

See also https://jwt.io/libraries for a non-comprehensive list for many various languages.

Test Clients

If mocking isn't sufficient, we also maintain some test clients for use in local development environments.

Note that the associated credentials may be rotated at any time.

As developers, you're responsible for treating these credentials as secrets. Never commit or distribute these to version control or expose them to publicly accessible services.

ID-porten

Credentials are found in Vault under /secrets/secret/.common/idporten

The client is configured with the following redirect URIs:

  • http://localhost:3000/oauth2/callback

It is otherwise equal to a default client.

Azure AD

Credentials are found in Vault under /secrets/secret/.common/azure

The clients are configured with the following redirect URIs:

  • http://localhost:3000/oauth2/callback

The clients are pre-authorized as follows:

  • test-app-1 is pre-authorized for test-app-2
  • test-app-2 is pre-authorized for test-app-3

They are otherwise equal to a default client.

TokenX

Credentials are found in Vault under /secrets/secret/.common/tokenx

The clients are pre-authorized as follows:

  • app-1 is pre-authorized for app-2

They are otherwise equal to a default client.


Last update: 2022-03-30
Created: 2022-03-30