[PR #957] [MERGED] Add Web auth integration tests (v2) #1768

Closed
opened 2025-12-29 02:31:37 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/juanfont/headscale/pull/957
Author: @juanfont
Created: 11/13/2022
Status: Merged
Merged: 11/14/2022
Merged by: @kradalby

Base: mainHead: web-auth-integration-v2


📝 Commits (3)

  • bc6999b Print hostname of the machine registered
  • ae3bc29 Return the real port of the container
  • 9a2fc0a Add web flow auth integration tests

📊 Changes

3 files changed (+196 additions, -4 deletions)

View changed files

📝 cmd/headscale/cli/nodes.go (+3 -1)
integration/auth_web_flow_test.go (+192 -0)
📝 integration/hsic/hsic.go (+1 -3)

📄 Description

This PR adds integration test coverage for the web auth (tailscale up + headscale register cmd).

If extends the scenario interface to handle the registration, parsing the URL headscale exposes.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/juanfont/headscale/pull/957 **Author:** [@juanfont](https://github.com/juanfont) **Created:** 11/13/2022 **Status:** ✅ Merged **Merged:** 11/14/2022 **Merged by:** [@kradalby](https://github.com/kradalby) **Base:** `main` ← **Head:** `web-auth-integration-v2` --- ### 📝 Commits (3) - [`bc6999b`](https://github.com/juanfont/headscale/commit/bc6999b94ccefa6c13093a5a51f84066c85f04d7) Print hostname of the machine registered - [`ae3bc29`](https://github.com/juanfont/headscale/commit/ae3bc290f61619601c85a3584061e5c816fe8ba1) Return the real port of the container - [`9a2fc0a`](https://github.com/juanfont/headscale/commit/9a2fc0aab438a043734116f0c38bab4d259b3e1b) Add web flow auth integration tests ### 📊 Changes **3 files changed** (+196 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `cmd/headscale/cli/nodes.go` (+3 -1) ➕ `integration/auth_web_flow_test.go` (+192 -0) 📝 `integration/hsic/hsic.go` (+1 -3) </details> ### 📄 Description This PR adds integration test coverage for the web auth (`tailscale up` + headscale register cmd). If extends the scenario interface to handle the registration, parsing the URL headscale exposes. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 02:31:37 +01:00
adam closed this issue 2025-12-29 02:31:37 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#1768