[PR #78] [MERGED] feature: basic auth0 support #2524

Closed
opened 2025-11-20 07:11:24 -05:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/78
Author: @braginini
Created: 8/2/2021
Status: Merged
Merged: 8/7/2021
Merged by: @braginini

Base: mainHead: management-base-http-server


📝 Commits (4)

  • 7449a38 feature: basic auth0 support
  • d78ddde refactor: improve auth flow
  • eb3741c refactor: extract HttpServer config
  • 109f569 feature: merge HTTP API layer with Let's Encrypt

📊 Changes

16 files changed (+500 additions, -37 deletions)

View changed files

📝 .gitignore (+3 -1)
📝 cmd/signal.go (+2 -1)
📝 encryption/letsencrypt.go (+4 -14)
📝 go.mod (+9 -2)
📝 go.sum (+18 -15)
📝 management/cmd/management.go (+24 -2)
management/http_server/handler/callback.go (+96 -0)
management/http_server/handler/dashboard.go (+44 -0)
management/http_server/handler/login.go (+58 -0)
management/http_server/handler/logout.go (+48 -0)
management/http_server/middleware/auth.go (+39 -0)
management/http_server/middleware/authenticated.go (+31 -0)
management/http_server/server.go (+91 -0)
management/http_server/template/templates.go (+21 -0)
📝 management/main.go (+2 -2)
📝 management/server/config.go (+10 -0)

📄 Description

  • support auth0
  • implement basic Auth0 registration flow without creating a user account (on management server)

in order to run the service the .env file should be in the root of the repository (not management/)
reach out to me for the file (this props will be later moved to the cmd or config file)


🔄 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/netbirdio/netbird/pull/78 **Author:** [@braginini](https://github.com/braginini) **Created:** 8/2/2021 **Status:** ✅ Merged **Merged:** 8/7/2021 **Merged by:** [@braginini](https://github.com/braginini) **Base:** `main` ← **Head:** `management-base-http-server` --- ### 📝 Commits (4) - [`7449a38`](https://github.com/netbirdio/netbird/commit/7449a381d0a943c1d8a3ab77c4eb2938c19b4364) feature: basic auth0 support - [`d78ddde`](https://github.com/netbirdio/netbird/commit/d78dddea367b1bdfb79b916d671d502ec438cf2e) refactor: improve auth flow - [`eb3741c`](https://github.com/netbirdio/netbird/commit/eb3741c204b0296d6cad35736765d0233eef2461) refactor: extract HttpServer config - [`109f569`](https://github.com/netbirdio/netbird/commit/109f569a596365448d4e4ecb11c6a458569d7a97) feature: merge HTTP API layer with Let's Encrypt ### 📊 Changes **16 files changed** (+500 additions, -37 deletions) <details> <summary>View changed files</summary> 📝 `.gitignore` (+3 -1) 📝 `cmd/signal.go` (+2 -1) 📝 `encryption/letsencrypt.go` (+4 -14) 📝 `go.mod` (+9 -2) 📝 `go.sum` (+18 -15) 📝 `management/cmd/management.go` (+24 -2) ➕ `management/http_server/handler/callback.go` (+96 -0) ➕ `management/http_server/handler/dashboard.go` (+44 -0) ➕ `management/http_server/handler/login.go` (+58 -0) ➕ `management/http_server/handler/logout.go` (+48 -0) ➕ `management/http_server/middleware/auth.go` (+39 -0) ➕ `management/http_server/middleware/authenticated.go` (+31 -0) ➕ `management/http_server/server.go` (+91 -0) ➕ `management/http_server/template/templates.go` (+21 -0) 📝 `management/main.go` (+2 -2) 📝 `management/server/config.go` (+10 -0) </details> ### 📄 Description - [x] support auth0 - [x] implement basic Auth0 registration flow without creating a user account (on management server) in order to run the service the .env file should be in the root of the repository (not management/) reach out to me for the file (this props will be later moved to the cmd or config file) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
saavagebueno added the pull-request label 2025-11-20 07:11:24 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#2524