微软第三方登录问题

This commit is contained in:
junleea 2025-05-18 11:15:24 +08:00
parent 2e4c2f801e
commit a1d9cc41fc
1 changed files with 1 additions and 0 deletions

View File

@ -892,6 +892,7 @@ func handleThirdPartyCallback(c *gin.Context) {
log.Println("state is empty,stateID=", stateID)
} else {
//json解析
log.Println("stateStr:", stateStr, "\tcode:", code)
var state proto.ThirdPartyLoginState
err := json.Unmarshal([]byte(stateStr), &state)
log.Println("handle callback state:", stateStr, "\tcode:", code)