This repository was archived by the owner on Dec 31, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed
Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ module github.com/BaiMeow/FishBot2
33go 1.16
44
55require (
6- github.com/BaiMeow/msauth v0.0.0-20210912123815-8dad139b8658
6+ github.com/BaiMeow/msauth v0.0.0-20211225042319-2589fe15df92
77 github.com/Tnze/go-mc v1.17.2-0.20211212072321-4e7db1e12235
88 github.com/google/uuid v1.3.0
99 github.com/iancoleman/strcase v0.2.0 // indirect
Original file line number Diff line number Diff line change @@ -37,8 +37,8 @@ cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohl
3737cloud.google.com/go/storage v1.8.0 /go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RXyy7KQOVs =
3838cloud.google.com/go/storage v1.10.0 /go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0 =
3939dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9 /go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU =
40- github.com/BaiMeow/msauth v0.0.0-20210912123815-8dad139b8658 h1:nBNOhUa62Lh7I/PbToKtrBkZyGksaeccQyPN5ZMCQDA =
41- github.com/BaiMeow/msauth v0.0.0-20210912123815-8dad139b8658 /go.mod h1:8aaR4Tp6OvyLjGc8zn5tcWZ3bS52LkDYgDmYEQMw2MY =
40+ github.com/BaiMeow/msauth v0.0.0-20211225042319-2589fe15df92 h1:Cot6Q/ani/FfqOHGhT7BuFN9TfOEsXuzRjq+frztW5Q =
41+ github.com/BaiMeow/msauth v0.0.0-20211225042319-2589fe15df92 /go.mod h1:8aaR4Tp6OvyLjGc8zn5tcWZ3bS52LkDYgDmYEQMw2MY =
4242github.com/BurntSushi/toml v0.3.1 /go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU =
4343github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802 /go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo =
4444github.com/Tnze/go-mc v1.17.2-0.20211212072321-4e7db1e12235 h1:UMrL+PAPVZTFNo+L2n5uMEVdxjQ3YtQnfcdA02qe4GQ =
Original file line number Diff line number Diff line change @@ -78,6 +78,7 @@ func main() {
7878 c .Auth .AsTk = resp .AccessToken ()
7979 case "microsoft" :
8080 msauth .SetClient ("67e646fb-20f3-4595-9830-56773a07637d" , "" )
81+ msauth .SetRedirectURL ("http://127.0.0.1:25595" )
8182 profile , astk , err := msauth .Login ()
8283 log .Println ("验证成功" )
8384 if err != nil {
You can’t perform that action at this time.
0 commit comments