Maskinporten Token Fetcher

This is a simple Flask application to demonstrate how to fetch tokens from Maskinporten. Use the form below to select the environment and view the corresponding issuer URL and configuration. Make sure to set the required environment variables in the Docker container or your local environment for the application to work properly.

{% if issuer_url %}

Issuer URL: {{ issuer_url }}

{% endif %}

Configuration

{% if config_error %}

Configuration error: {{ config_error }}

{% endif %} {% if config %} {% endif %}

Token will appear here...