[PR #350] [MERGED] Feat OIDC login as namespace #1398

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

📋 Pull Request Information

Original PR: https://github.com/juanfont/headscale/pull/350
Author: @restanrm
Created: 2/22/2022
Status: Merged
Merged: 2/25/2022
Merged by: @kradalby

Base: mainHead: feat-oidc-login-as-namespace


📝 Commits (10+)

  • 92ffac6 feat(namespace): add normalization function for namespace
  • 0191ea9 feat(oidc): bind email to namespace
  • 717250a feat: removing matchmap from headscale
  • afd4a37 chore: update formating
  • fe0b43e chore: update changelog
  • 45727db feat(namespace): add check function for namespace
  • 995731a fix(namespace): checknamespace name before actions
  • fcdbe7c fix(utils_test): fix namespace name
  • cef0a2b fix(namespaces_test): fix missing namespace name
  • 7e4709c fix(namespace): remove name validation for destroy and get

📊 Changes

11 files changed (+325 additions, -307 deletions)

View changed files

📝 CHANGELOG.md (+4 -0)
📝 app.go (+4 -4)
📝 cmd/headscale/cli/utils.go (+6 -18)
📝 config-example.yaml (+6 -4)
📝 dns.go (+1 -5)
📝 machine.go (+13 -5)
📝 namespaces.go (+80 -0)
📝 namespaces_test.go (+146 -4)
📝 oidc.go (+63 -85)
oidc_test.go (+0 -180)
📝 utils_test.go (+2 -2)

📄 Description

  • read the CONTRIBUTING guidelines
  • raised a GitHub issue or discussed it on the projects chat beforehand
  • added unit tests
  • [] added integration tests
  • updated documentation if needed
  • updated CHANGELOG.md

should close #327


🔄 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/350 **Author:** [@restanrm](https://github.com/restanrm) **Created:** 2/22/2022 **Status:** ✅ Merged **Merged:** 2/25/2022 **Merged by:** [@kradalby](https://github.com/kradalby) **Base:** `main` ← **Head:** `feat-oidc-login-as-namespace` --- ### 📝 Commits (10+) - [`92ffac6`](https://github.com/juanfont/headscale/commit/92ffac625ec7b32d2a82f89146497df67def1a47) feat(namespace): add normalization function for namespace - [`0191ea9`](https://github.com/juanfont/headscale/commit/0191ea93ffd83e367530ca8c3b4be78dc6f05dbc) feat(oidc): bind email to namespace - [`717250a`](https://github.com/juanfont/headscale/commit/717250adb3fc8cf6a37550292caf70e5f17979a7) feat: removing matchmap from headscale - [`afd4a37`](https://github.com/juanfont/headscale/commit/afd4a3706ebe1d93f4ee9c4714df8de9bc7f4715) chore: update formating - [`fe0b43e`](https://github.com/juanfont/headscale/commit/fe0b43eaaff43fd2692aa3c3da5c1ea7b92d2311) chore: update changelog - [`45727db`](https://github.com/juanfont/headscale/commit/45727dbb214f934b4a71bd694fa64570a6a4cf2e) feat(namespace): add check function for namespace - [`995731a`](https://github.com/juanfont/headscale/commit/995731a29c067890a7ddb7b1c3a2979f2e21272c) fix(namespace): checknamespace name before actions - [`fcdbe7c`](https://github.com/juanfont/headscale/commit/fcdbe7c5109b83065c150338b143c13e611b4cc6) fix(utils_test): fix namespace name - [`cef0a2b`](https://github.com/juanfont/headscale/commit/cef0a2b0b3d6bae1a0a58d74a08363a82e9c1060) fix(namespaces_test): fix missing namespace name - [`7e4709c`](https://github.com/juanfont/headscale/commit/7e4709c13f79574620133d639498bff945c8423b) fix(namespace): remove name validation for destroy and get ### 📊 Changes **11 files changed** (+325 additions, -307 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+4 -0) 📝 `app.go` (+4 -4) 📝 `cmd/headscale/cli/utils.go` (+6 -18) 📝 `config-example.yaml` (+6 -4) 📝 `dns.go` (+1 -5) 📝 `machine.go` (+13 -5) 📝 `namespaces.go` (+80 -0) 📝 `namespaces_test.go` (+146 -4) 📝 `oidc.go` (+63 -85) ➖ `oidc_test.go` (+0 -180) 📝 `utils_test.go` (+2 -2) </details> ### 📄 Description <!-- Please tick if the following things apply. You… --> - [x] read the [CONTRIBUTING guidelines](README.md#user-content-contributing) - [x] raised a GitHub issue or discussed it on the projects chat beforehand - [x] added unit tests - [] added integration tests - [x] updated documentation if needed - [x] updated CHANGELOG.md should close #327 --- <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:29:56 +01:00
adam closed this issue 2025-12-29 02:29:56 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#1398