Skip to content
Snippets Groups Projects
Commit 49a4da07 authored by Yoan VALLET's avatar Yoan VALLET
Browse files

Add logs for refresh token test

parent 0fc42e1c
No related branches found
No related tags found
No related merge requests found
Pipeline #5462 passed
...@@ -105,7 +105,12 @@ func main() { ...@@ -105,7 +105,12 @@ func main() {
fmt.Println(time.Now().Format("2006-01-02 15:04:05"), "- New token request") fmt.Println(time.Now().Format("2006-01-02 15:04:05"), "- New token request")
query := r.URL.Query() query := r.URL.Query()
fmt.Println(query) fmt.Println(query)
fmt.Println(r.Body)
contents, err := ioutil.ReadAll(r.Body)
if err != nil {
fmt.Println(err)
}
fmt.Println(string(contents))
clientId := query.Get("client_id") clientId := query.Get("client_id")
clientSecret := query.Get("client_secret") clientSecret := query.Get("client_secret")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment