We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96a4e46 commit bb29f41Copy full SHA for bb29f41
internal/namespaces/login/login.go
@@ -5,6 +5,7 @@ import (
5
"encoding/base64"
6
"encoding/json"
7
"fmt"
8
+ "net/url"
9
"reflect"
10
"time"
11
@@ -72,7 +73,9 @@ Once you connected to Scaleway, the profile should be configured.
72
73
74
callbackURL := fmt.Sprintf("http://localhost:%d/callback", wb.Port())
75
- accountURL := "https://account.scaleway.com/authenticate?redirectToUrl=" + callbackURL
76
+ params := url.Values{}
77
+ params.Add("redirectToUrl", callbackURL)
78
+ accountURL := "https://account.scaleway.com/authenticate?" + params.Encode()
79
80
logger.Debugf("Web server started, waiting for callback on %s\n", callbackURL)
81
0 commit comments