coulomb-social/coulomb_social/templates/identity/dev_login.html
tegwick d88767f05b Wire user-engine HTTP /me for member provisioning (CSOC-WP-0002-T04)
HttpUserEngineClient uses trusted-proxy claims against live user-engine.
Offline stub when URL/secret unset. Align default tenant with KeyCape
tenant:coulomb; map OIDC tenant/principal_type/groups into the envelope.
2026-08-09 01:56:44 +02:00

33 lines
1.1 KiB
HTML

{% extends "base.html" %}
{% block title %}Dev sign-in — {{ site_name }}{% endblock %}
{% block content %}
<h1>Dev sign-in</h1>
<p class="muted">
DEBUG only. Simulates NetKingdom IAM Profile claims when
<code>OIDC_ENABLED=false</code>. Not available in production.
</p>
<form method="post" class="card">
{% csrf_token %}
<label>Subject (OIDC sub) *
<input type="text" name="subject" required placeholder="user-123" value="dev-user-1">
</label>
<label>Issuer
<input type="text" name="issuer" value="https://local.dev/issuer">
</label>
<label>Name
<input type="text" name="name" value="Dev Member">
</label>
<label>Email
<input type="email" name="email" value="dev@example.com">
</label>
<label>Preferred username
<input type="text" name="preferred_username" value="dev">
</label>
<label>Tenant claim
<input type="text" name="tenant" value="{{ default_tenant }}">
</label>
<p style="margin-top:1.25rem;">
<button class="btn" type="submit">Establish session</button>
</p>
</form>
{% endblock %}