Skip to content

This is an application designed to retrieve and display access tokens from an OIDC provider such as Keycloak.

License

Notifications You must be signed in to change notification settings

N5GEH/n5geh.tools.apiTokenWebsite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Token Website

This is an application designed to retrieve and display access tokens from an OIDC provider such as Keycloak.

Usage

The user can log in via IdP (e.g. via Keycloak) and retrieve access tokens for interacting with the N5GEH platform. These tokens are necessary if the APIs are protected as described in n5geh.tutorials.api-protection.

This is an easy way to obtain a token for development purposes. The user interface looks like this:

Access Token Screen

Deployment

Deployment via Docker:

  • Build the image using the provided Dockerfile. Images are available at ghcr.io/n5geh/n5geh.tools.apitokenwebsite.

  • Utilize Docker Compose with the provided compose.yml file and configure the following environment variables:

    CLIENT_ID = # ID of OAuth2 Client
    CLIENT_SECRET = # Secret of OAuth2 Client
    SECRET = # Secret for express-openid-connect (https://github.com/auth0/express-openid-connect) - LONG_RANDOM_VALUE
    ISSUER_BASE_URL = # Base URL of the Authorization Server
    HOST = # Hostname of the UI in the format: https://${HOST}/
  • The UI is accessible at port 4000.

License

The Token Website is licensed under the BSD 3-Clause License BSD 3-Clause License.

About

This is an application designed to retrieve and display access tokens from an OIDC provider such as Keycloak.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors 2

  •  
  •