How to customize the registration authentication page #519

Closed
opened 2025-12-29 02:19:27 +01:00 by adam · 8 comments
Owner

Originally created by @VMCoud on GitHub (May 26, 2023).

Why

The default authentication interface is too simple. I want to add the function of automatically copying nodekey:id by clicking

Description

https://xxxx.com/register/nodekey:af5d8e16f6314112aa6d032f6c948893903637d08ceee21978987bf26f7e6662 How to customize the registration authentication page

Originally created by @VMCoud on GitHub (May 26, 2023). <!-- We typically have a clear roadmap for what we want to improve and reserve the right to close feature requests that does not fit in the roadmap, or fit with the scope of the project, or we actually want to implement ourselves. Headscale is a multinational community across the globe. Our language is English. All bug reports needs to be in English. --> ## Why <!-- Include the reason, why you would need the feature. E.g. what problem does it solve? Or which workflow is currently frustrating and will be improved by this? --> The default authentication interface is too simple. I want to add the function of automatically copying nodekey:id by clicking ## Description <!-- A clear and precise description of what new or changed feature you want. --> https://xxxx.com/register/nodekey:af5d8e16f6314112aa6d032f6c948893903637d08ceee21978987bf26f7e6662 How to customize the registration authentication page
adam added the enhancement label 2025-12-29 02:19:27 +01:00
adam closed this issue 2025-12-29 02:19:27 +01:00
Author
Owner

@VMCoud commented on GitHub (May 26, 2023):

I would like to know the template file location for the default registration verification page

@VMCoud commented on GitHub (May 26, 2023): I would like to know the template file location for the default registration verification page
Author
Owner

@yunsip commented on GitHub (May 27, 2023):

Self registration of client users can be achieved through OIDC authentication

@yunsip commented on GitHub (May 27, 2023): Self registration of client users can be achieved through OIDC authentication
Author
Owner

@VMCoud commented on GitHub (May 27, 2023):

客户端用户可通过OIDC认证实现自注册

Hello, I am trying to access keycloak, which address in headscale should be filled in the 'Valid redirect URIs''Web origins' in keycloak

@VMCoud commented on GitHub (May 27, 2023): > 客户端用户可通过OIDC认证实现自注册 Hello, I am trying to access keycloak, which address in headscale should be filled in the 'Valid redirect URIs''Web origins' in keycloak
Author
Owner

@VMCoud commented on GitHub (May 27, 2023):

Trying to fill in the headscale https://networks.xxx.com/auth/callback will return a 404 error

@VMCoud commented on GitHub (May 27, 2023): Trying to fill in the headscale https://networks.xxx.com/auth/callback will return a 404 error
Author
Owner

@VMCoud commented on GitHub (May 27, 2023):

Is there any detailed documentation about accessing keycloak in headscale,

@VMCoud commented on GitHub (May 27, 2023): Is there any detailed documentation about accessing keycloak in headscale,
Author
Owner

@yunsip commented on GitHub (May 29, 2023):

keycloak Valid Redirect URIs https://headscaleserver/oidc/callback
headscaleserver config.yml
{
"realm": "tailscale",
"auth-server-url": "https://keycloakserver/auth/",
"ssl-required": "external",
"resource": "headscale",
"credentials": {
"secret": "EYwCuajKbVaGmxlZCgoewew7VVhMaeCj"
},
"confidential-port": 0
}

@yunsip commented on GitHub (May 29, 2023): keycloak Valid Redirect URIs https://headscaleserver/oidc/callback headscaleserver config.yml { "realm": "tailscale", "auth-server-url": "https://keycloakserver/auth/", "ssl-required": "external", "resource": "headscale", "credentials": { "secret": "EYwCuajKbVaGmxlZCgoewew7VVhMaeCj" }, "confidential-port": 0 }
Author
Owner

@VMCoud commented on GitHub (May 29, 2023):

thank you

@VMCoud commented on GitHub (May 29, 2023): thank you
Author
Owner

@kradalby commented on GitHub (Jun 7, 2023):

As per comment (https://github.com/juanfont/headscale/pull/1435#issuecomment-1576304151) we will not support customising the registration page, however a nicer one will probably be merged soon so it will be prettier (#1484).

@kradalby commented on GitHub (Jun 7, 2023): As per comment (https://github.com/juanfont/headscale/pull/1435#issuecomment-1576304151) we will not support customising the registration page, however a nicer one will probably be merged soon so it will be prettier (#1484).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#519