You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Welcome @J0RdN-w! Thank you so much for your first issue!
yordanoswuletaw
changed the title
social auth returns with http://localhost:3000/social?error=error_exchanging_code error after successfully hit the callback url
social auth returns with http://localhost:3000/social?error=error_exchanging_code error after successfully hit the callback url which is incase http://localhost:1995/authorize?provider=github
Sep 5, 2022
yordanoswuletaw
changed the title
social auth returns with http://localhost:3000/social?error=error_exchanging_code error after successfully hit the callback url which is incase http://localhost:1995/authorize?provider=github
social auth returns with http://localhost:3000/social?error=error_exchanging_code error after successfully hit the callback url
Sep 5, 2022
yordanoswuletaw
changed the title
social auth returns with http://localhost:3000/social?error=error_exchanging_code error after successfully hit the callback url
social auth returns with http://localhost:3000/social?error=error_exchanging_code error after successfully redirected to the callback url.
Sep 5, 2022
trust | 2022/09/05 09:50:55 http: panic serving 127.0.0.1:47426: runtime error: invalid memory address or nil pointer dereference
trust | goroutine 234 [running]:
trust | net/http.(*conn).serve.func1(0xa5d67e0)
trust | /usr/local/go/src/net/http/server.go:1801 +0xd2
trust | panic({0x873e9a0, 0x8cad750})
trust | /usr/local/go/src/runtime/panic.go:1052 +0x25b
trust | github.com/zolamk/trust/hook.TriggerHook({0xa7a4df4, 0x6}, {0x87b7679, 0x5}, 0xa50d3a0, 0x0)
trust | /github/workspace/hook/hook.go:20 +0x2a
trust | github.com/zolamk/trust/handlers.SignIn(0xa6f46e0, {0xa518040, 0x9}, {0xa9ee000, 0x65}, 0xa674720, {0x88c07d0, 0xa9f2000})
trust | /github/workspace/handlers/index.go:40 +0x213
trust | github.com/zolamk/trust/handlers/provider.Callback.func1.1(0xa674720)
trust | /github/workspace/handlers/provider/callback.go:151 +0x446
trust | gorm.io/gorm.(*DB).Transaction(0xa7c8140, 0xa6a2500, {0x0, 0x0, 0x0})
trust | /go/pkg/mod/gorm.io/gorm@v1.22.4/finisher_api.go:548 +0x229
trust | github.com/zolamk/trust/handlers/provider.Callback.func1({0x88c07d0, 0xa9f2000}, 0xa9ec280)
trust | /github/workspace/handlers/provider/callback.go:113 +0x91e
trust | net/http.HandlerFunc.ServeHTTP(0xa6201a0, {0x88c07d0, 0xa9f2000}, 0xa9ec280)
trust | /usr/local/go/src/net/http/server.go:2046 +0x34
trust | github.com/zolamk/trust/middleware.Authenticated.func1.1({0x88c07d0, 0xa9f2000}, 0xa9ec280)
trust | /github/workspace/middleware/authenticated.go:27 +0x417
trust | net/http.HandlerFunc.ServeHTTP(0xa855250, {0x88c07d0, 0xa9f2000}, 0xa9ec280)
trust | /usr/local/go/src/net/http/server.go:2046 +0x34
trust | github.com/zolamk/trust/middleware.AttachRefreshToken.func1.1({0x88c07d0, 0xa9f2000}, 0xa9ec200)
trust | /github/workspace/middleware/attach_refresh_token.go:27 +0x265
trust | net/http.HandlerFunc.ServeHTTP(0xa855260, {0x88c07d0, 0xa9f2000}, 0xa9ec200)
trust | /usr/local/go/src/net/http/server.go:2046 +0x34
trust | github.com/zolamk/trust/middleware.AttachLogData.func1({0x88c07d0, 0xa9f2000}, 0xa9ec180)
trust | /github/workspace/middleware/attach_log_data.go:43 +0x397
trust | net/http.HandlerFunc.ServeHTTP(0xa855270, {0x88c07d0, 0xa9f2000}, 0xa9ec180)
trust | /usr/local/go/src/net/http/server.go:2046 +0x34
trust | github.com/zolamk/trust/middleware.AttachResponse.func1({0x88c07d0, 0xa9f2000}, 0xa9ec100)
trust | /github/workspace/middleware/attach_response.go:16 +0x215
trust | net/http.HandlerFunc.ServeHTTP(0xa855280, {0x88c07d0, 0xa9f2000}, 0xa9ec100)
trust | /usr/local/go/src/net/http/server.go:2046 +0x34
trust | github.com/gorilla/mux.(*Router).ServeHTTP(0xa630060, {0x88c07d0, 0xa9f2000}, 0xa83a780)
trust | /go/pkg/mod/github.com/gorilla/mux@v1.8.0/mux.go:210 +0x1d1
trust | net/http.(*ServeMux).ServeHTTP(0x8cbad00, {0x88c07d0, 0xa9f2000}, 0xa83a780)
trust | /usr/local/go/src/net/http/server.go:2424 +0x156
trust | net/http.serverHandler.ServeHTTP({0xa62a360}, {0x88c07d0, 0xa9f2000}, 0xa83a780)
trust | /usr/local/go/src/net/http/server.go:2878 +0x359
trust | net/http.(*conn).serve(0xa5d67e0, {0x88c0d00, 0xa6024e0})
trust | /usr/local/go/src/net/http/server.go:1929 +0xc16
trust | created by net/http.(*Server).Serve
trust | /usr/local/go/src/net/http/server.go:3033 +0x428
The text was updated successfully, but these errors were encountered: