correction typo redirect uri

This commit is contained in:
Laurent Drogou
2021-01-29 12:45:07 +01:00
parent cf9e02efcb
commit a385e4f267
2 changed files with 3 additions and 2 deletions

3
.gitignore vendored
View File

@@ -1,3 +1,4 @@
.DS_Store
goauth20
oauth.db
oauth.db
goauth.exe

View File

@@ -306,7 +306,7 @@ func constJSONToken(code, state string, param *model.Param) JSONToken {
ClientID: param.ClientID,
ClientSecret: param.ClientSecret,
GrantType: param.GrantType,
RedirectURI: "http://localhost:8080/oauth/redirect?state=" + state,
RedirectURI: "http://localhost:8080/oauth/redirect%3Fstate=" + state,
Code: code,
}
}