{% trans %}Static configuration{% endtrans %}

{% trans %}If you prefer to configure Auth Playground via environment variables without validating the server first, you can set them directly and restart the application.{% endtrans %}

  1. {% trans %}Create an OAuth client on your provider{% endtrans %}
    {% trans %}What configuration details do I need?{% endtrans %}

    {% trans %}Configure these URIs in your OAuth client:{% endtrans %}

    {% trans %}Redirect URIs{% endtrans %} (redirect_uris):

    • {{ url_for('oauth.login_callback', _external=True) }}
    • {{ url_for('oauth.register_callback', _external=True) }}

    {% trans %}Post-Logout Redirect URIs{% endtrans %} (post_logout_redirect_uris):

    • {{ url_for('oauth.logout_callback', _external=True) }}
  2. {% trans %}Set the following environment variables in a{% endtrans %} .env {% trans %}file or by exporting them in your shell:{% endtrans %}
    OAUTH_CLIENT_ID="your-client-id"
    OAUTH_CLIENT_SECRET="your-client-secret"
    OAUTH_AUTH_SERVER="https://your-idp.example.com"
  3. {% trans %}Restart the application{% endtrans %}