[PR #273] [MERGED] Add OAuth Package and Auth0 Client #2670

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

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/273
Author: @mlsmaycon
Created: 3/19/2022
Status: Merged
Merged: 3/20/2022
Merged by: @mlsmaycon

Base: mainHead: client-oauth-package


📝 Commits (4)

📊 Changes

3 files changed (+542 additions, -0 deletions)

View changed files

client/internal/oauth/auth0.go (+210 -0)
client/internal/oauth/auth0_test.go (+296 -0)
client/internal/oauth/oauth.go (+36 -0)

📄 Description

Adding package for retrieving an access token with a device login flow

For now, we got Auth0 as a client but the Interface Client is ready


🔄 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/273 **Author:** [@mlsmaycon](https://github.com/mlsmaycon) **Created:** 3/19/2022 **Status:** ✅ Merged **Merged:** 3/20/2022 **Merged by:** [@mlsmaycon](https://github.com/mlsmaycon) **Base:** `main` ← **Head:** `client-oauth-package` --- ### 📝 Commits (4) - [`a8b2a3d`](https://github.com/netbirdio/netbird/commit/a8b2a3d0d821cbdc682cc2fc89b6bbb7eedce554) Add OAuth Package and Auth0 Client - [`915e043`](https://github.com/netbirdio/netbird/commit/915e043aa84fc51e998885564e1f736a99ddd51b) Adjust to golint - [`bb1876c`](https://github.com/netbirdio/netbird/commit/bb1876c3b9375505a53745d2222f0893ac70e5b0) Add doc for const - [`f334e27`](https://github.com/netbirdio/netbird/commit/f334e276ff5c9607c99a305fb4cfdbb71b9afb7b) Clarify some documentation ### 📊 Changes **3 files changed** (+542 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `client/internal/oauth/auth0.go` (+210 -0) ➕ `client/internal/oauth/auth0_test.go` (+296 -0) ➕ `client/internal/oauth/oauth.go` (+36 -0) </details> ### 📄 Description Adding package for retrieving an access token with a device login flow For now, we got Auth0 as a client but the Interface Client is ready --- <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:12:14 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#2670