mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-16 07:16:38 +00:00
Embed Dex as a built-in IdP to simplify self-hosting setup. Adds an embedded OIDC Identity Provider (Dex) with local user management and optional external IdP connectors (Google/GitHub/OIDC/SAML), plus device-auth flow for CLI login. Introduces instance onboarding/setup endpoints (including owner creation), field-level encryption for sensitive user data, a streamlined self-hosting provisioning script, and expanded APIs + test coverage for IdP management. more at https://github.com/netbirdio/netbird/pull/5008#issuecomment-3718987393
34 lines
915 B
HTML
Executable File
34 lines
915 B
HTML
Executable File
{{ template "header.html" . }}
|
|
|
|
<div class="nb-card">
|
|
<h1 class="nb-heading">Device Login</h1>
|
|
<p class="nb-subheading">Enter the code shown on your device</p>
|
|
|
|
<form method="post" action="{{ .PostURL }}">
|
|
{{ if .Invalid }}
|
|
<div class="nb-error">
|
|
Invalid user code.
|
|
</div>
|
|
{{ end }}
|
|
|
|
<div class="nb-form-group">
|
|
<label class="nb-label" for="user_code">Device Code</label>
|
|
<input
|
|
type="text"
|
|
id="user_code"
|
|
name="user_code"
|
|
class="nb-input"
|
|
placeholder="XXXX-XXXX"
|
|
{{ if .UserCode }}value="{{ .UserCode }}"{{ end }}
|
|
required
|
|
autofocus
|
|
>
|
|
</div>
|
|
|
|
<button type="submit" class="nb-btn">
|
|
Continue
|
|
</button>
|
|
</form>
|
|
</div>
|
|
|
|
{{ template "footer.html" . }} |