Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Castres (0.15 sec)

  1. cmd/utils.go

    	// }
    	// fmt.Printf("resp body: %s\n", string(bodyBuf))
    	// fmt.Printf("lastReq: %#v\n", lastReq.URL.String())
    
    	// On form submission, the last redirect response contains the auth
    	// code, which we now have in `lastReq`. Exchange it for a JWT id_token.
    	q := lastReq.URL.Query()
    	// fmt.Printf("lastReq.URL: %#v q: %#v\n", lastReq.URL, q)
    	code := q.Get("code")
    	oauth2Token, err := oauth2Config.Exchange(ctx, code)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 31.3K bytes
    - Viewed (0)
Back to top