[PR #280] [MERGED] Rotate Access token with refresh token #12415

Closed
opened 2026-08-05 02:05:51 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/280
Author: @mlsmaycon
Created: 3/21/2022
Status: Merged
Merged: 3/22/2022
Merged by: @mlsmaycon

Base: mainHead: refresh-tokens


📝 Commits (10+)

  • 00b1aca Add secrets functions
  • fa7243e Add RotateAccessToken method
  • 8bf905b Add RotateAccessToken method
  • c93c307 Add RotateAccessToken tests
  • 1178281 Install secret tests requirements
  • 93b0694 Add documentation
  • c635a07 Skipping secret tests for now
  • c96ff49 Merge branch 'main' into refresh-tokens
  • 68e4289 Syncing go.mod
  • 98875e5 User CI variable for skipping test

📊 Changes

9 files changed (+328 additions, -45 deletions)

View changed files

📝 .github/workflows/golang-test-darwin.yml (+1 -1)
📝 .github/workflows/golang-test-linux.yml (+2 -13)
📝 client/internal/oauth/auth0.go (+78 -26)
📝 client/internal/oauth/auth0_test.go (+120 -1)
📝 client/internal/oauth/oauth.go (+1 -0)
client/internal/oauth/secret.go (+66 -0)
client/internal/oauth/secret_test.go (+27 -0)
📝 go.mod (+9 -1)
📝 go.sum (+24 -3)

📄 Description

Support rotating access tokens with refresh tokens.

Added secret storing functions


🔄 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/280 **Author:** [@mlsmaycon](https://github.com/mlsmaycon) **Created:** 3/21/2022 **Status:** ✅ Merged **Merged:** 3/22/2022 **Merged by:** [@mlsmaycon](https://github.com/mlsmaycon) **Base:** `main` ← **Head:** `refresh-tokens` --- ### 📝 Commits (10+) - [`00b1aca`](https://github.com/netbirdio/netbird/commit/00b1aca522ac45b637048603c0605baabaf806c9) Add secrets functions - [`fa7243e`](https://github.com/netbirdio/netbird/commit/fa7243ed69f994632d2ee0ab26110f320b5c6f50) Add RotateAccessToken method - [`8bf905b`](https://github.com/netbirdio/netbird/commit/8bf905bab6a856b77dba238eb8761f4e195375b4) Add RotateAccessToken method - [`c93c307`](https://github.com/netbirdio/netbird/commit/c93c307cd7e837c7f50543ed05e2a2e0c7a6e47f) Add RotateAccessToken tests - [`1178281`](https://github.com/netbirdio/netbird/commit/11782810df49e69694ff3128a086e5396a5cf5ac) Install secret tests requirements - [`93b0694`](https://github.com/netbirdio/netbird/commit/93b0694d7f7792517a02bafee8f6f5319c5cf862) Add documentation - [`c635a07`](https://github.com/netbirdio/netbird/commit/c635a0711cce1974209911b6e1edbb29986ad739) Skipping secret tests for now - [`c96ff49`](https://github.com/netbirdio/netbird/commit/c96ff49e7388d34f98bd486a7d912441d43205f8) Merge branch 'main' into refresh-tokens - [`68e4289`](https://github.com/netbirdio/netbird/commit/68e4289a2b825d1f9f96e35c94417813d7879fdd) Syncing go.mod - [`98875e5`](https://github.com/netbirdio/netbird/commit/98875e56141ed98b1c6083fc73f4a053ba7eaed0) User CI variable for skipping test ### 📊 Changes **9 files changed** (+328 additions, -45 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/golang-test-darwin.yml` (+1 -1) 📝 `.github/workflows/golang-test-linux.yml` (+2 -13) 📝 `client/internal/oauth/auth0.go` (+78 -26) 📝 `client/internal/oauth/auth0_test.go` (+120 -1) 📝 `client/internal/oauth/oauth.go` (+1 -0) ➕ `client/internal/oauth/secret.go` (+66 -0) ➕ `client/internal/oauth/secret_test.go` (+27 -0) 📝 `go.mod` (+9 -1) 📝 `go.sum` (+24 -3) </details> ### 📄 Description Support rotating access tokens with refresh tokens. Added secret storing functions --- <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 2026-08-05 02:05:51 -04:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#12415