add google login

- refactor resolvers
- fix signup method typos

Resolves #17
This commit is contained in:
Lakhan Samani
2021-07-17 21:59:50 +05:30
parent 699c49ade0
commit 9b8658f666
24 changed files with 1053 additions and 445 deletions

View File

@@ -3,21 +3,23 @@ module github.com/yauthdev/yauth/server
go 1.16
require (
github.com/99designs/gqlgen v0.13.0 // indirect
github.com/gin-gonic/gin v1.7.2 // indirect
github.com/go-redis/redis/v8 v8.11.0 // indirect
github.com/golang-jwt/jwt v3.2.1+incompatible // indirect
github.com/99designs/gqlgen v0.13.0
github.com/gin-gonic/gin v1.7.2
github.com/go-redis/redis/v8 v8.11.0
github.com/golang-jwt/jwt v3.2.1+incompatible
github.com/golang/protobuf v1.5.2 // indirect
github.com/google/uuid v1.3.0 // indirect
github.com/jackc/pgproto3/v2 v2.1.0 // indirect
github.com/joho/godotenv v1.3.0 // indirect
github.com/joho/godotenv v1.3.0
github.com/mattn/go-sqlite3 v1.14.7 // indirect
github.com/rs/cors v1.8.0 // indirect
github.com/vektah/gqlparser/v2 v2.1.0 // indirect
golang.org/x/crypto v0.0.0-20210616213533-5ff15b29337e // indirect
golang.org/x/text v0.3.6 // indirect
gopkg.in/go-playground/assert.v1 v1.2.1 // indirect
gopkg.in/go-playground/validator.v9 v9.29.1 // indirect
gorm.io/driver/mysql v1.1.1 // indirect
gorm.io/driver/postgres v1.1.0 // indirect
gorm.io/driver/sqlite v1.1.4 // indirect
gorm.io/gorm v1.21.11 // indirect
github.com/vektah/gqlparser/v2 v2.1.0
golang.org/x/crypto v0.0.0-20210616213533-5ff15b29337e
golang.org/x/net v0.0.0-20210614182718-04defd469f4e // indirect
golang.org/x/oauth2 v0.0.0-20210628180205-a41e5a781914
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/protobuf v1.27.1 // indirect
gorm.io/driver/mysql v1.1.1
gorm.io/driver/postgres v1.1.0
gorm.io/driver/sqlite v1.1.4
gorm.io/gorm v1.21.11
)