79484018

Date: 2025-03-04 14:46:48
Score: 0.5
Natty:
Report link

If you need your RedirectUrl to be more dynamic, you could just instead do

redirectUrl := "http://localhost:9090/oauth2callback"
token, err := oauthConf.Exchange(oauth2.NoContext, code, oauth2.SetAuthURLParam("redirect_uri", redirectURL))
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: YesYouKen