mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-18 16:26:38 +00:00
ignore error
This commit is contained in:
@@ -169,7 +169,7 @@ func TestSendServiceUpdate_UniqueTokensPerProxy(t *testing.T) {
|
|||||||
// generateState creates a state using the same format as GetOIDCURL.
|
// generateState creates a state using the same format as GetOIDCURL.
|
||||||
func generateState(s *ProxyServiceServer, redirectURL string) string {
|
func generateState(s *ProxyServiceServer, redirectURL string) string {
|
||||||
nonce := make([]byte, 16)
|
nonce := make([]byte, 16)
|
||||||
rand.Read(nonce)
|
_, _ = rand.Read(nonce)
|
||||||
nonceB64 := base64.URLEncoding.EncodeToString(nonce)
|
nonceB64 := base64.URLEncoding.EncodeToString(nonce)
|
||||||
|
|
||||||
payload := redirectURL + "|" + nonceB64
|
payload := redirectURL + "|" + nonceB64
|
||||||
|
|||||||
Reference in New Issue
Block a user