{% extends "layout.html" %}

{% block title %}{% trans %}Terms of Service{% endtrans %}{% endblock %}

{% block content %}
    <article>
        <header>
            <h2>{% trans %}Terms of Service{% endtrans %}</h2>
        </header>

        <section>
            <h3>{% trans %}Purpose{% endtrans %}</h3>
            <p>
                {% trans %}Auth Playground is an <strong>educational and demonstration tool</strong> designed to help developers
                    test OAuth2 and OpenID Connect (OIDC) authentication flows. It is intended for:{% endtrans %}
            </p>
            <ul>
                <li>{% trans %}Learning and understanding OAuth 2.0 and OpenID Connect protocols{% endtrans %}</li>
                <li>{% trans %}Testing integration with identity providers{% endtrans %}</li>
                <li>{% trans %}Demonstrating authentication flows in development environments{% endtrans %}</li>
                <li>{% trans %}Debugging OIDC implementations{% endtrans %}</li>
            </ul>
        </section>

        <section>
            <h3>{% trans %}Open Source Project{% endtrans %}</h3>
            <p>
                {% trans %}Auth Playground is an open source project. You are free to:{% endtrans %}
            </p>
            <ul>
                <li>{% trans %}Use, modify, and distribute the software{% endtrans %}</li>
                <li>{% trans %}Self-host the application{% endtrans %}</li>
                <li>{% trans %}Contribute improvements and bug fixes{% endtrans %}</li>
                <li>{% trans %}Review the source code for security and functionality{% endtrans %}</li>
            </ul>
            <p>
                {% trans %}Please refer to the LICENSE file in the repository for detailed terms.{% endtrans %}
            </p>
        </section>

        <section>
            <h3>{% trans %}User Responsibility{% endtrans %}</h3>
            <p>
                {% trans %}When using Auth Playground, you are responsible for:{% endtrans %}
            </p>
            <ul>
                <li>{% trans %}Using only test accounts and non-sensitive data{% endtrans %}</li>
                <li>{% trans %}Securing your deployment appropriately for your environment{% endtrans %}</li>
                <li>{% trans %}Configuring environment variables correctly{% endtrans %}</li>
                <li>{% trans %}Understanding the security implications of your setup{% endtrans %}</li>
                <li>{% trans %}Complying with your identity provider's terms of service{% endtrans %}</li>
            </ul>
        </section>

        <section>
            <h3>{% trans %}No Warranty{% endtrans %}</h3>
            <p>
                {% trans %}This software is provided "as is" without warranty of any kind, express or implied.
                    Use at your own risk.{% endtrans %}
            </p>
        </section>
    </article>
{% endblock %}
