correction typo redirect uri
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,3 +1,4 @@
|
|||||||
.DS_Store
|
.DS_Store
|
||||||
goauth20
|
goauth20
|
||||||
oauth.db
|
oauth.db
|
||||||
|
goauth.exe
|
||||||
@@ -306,7 +306,7 @@ func constJSONToken(code, state string, param *model.Param) JSONToken {
|
|||||||
ClientID: param.ClientID,
|
ClientID: param.ClientID,
|
||||||
ClientSecret: param.ClientSecret,
|
ClientSecret: param.ClientSecret,
|
||||||
GrantType: param.GrantType,
|
GrantType: param.GrantType,
|
||||||
RedirectURI: "http://localhost:8080/oauth/redirect?state=" + state,
|
RedirectURI: "http://localhost:8080/oauth/redirect%3Fstate=" + state,
|
||||||
Code: code,
|
Code: code,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user