DEV Community

Discussion on: Creating an opinionated GraphQL server with Go - Part 4

Collapse
 
coilnovasince1985 profile image
coilnovasince1985

@cmelgarejo thanks for a great tutorials! Looking forward for the next series :)
Btw, is it possible to do the basic authentication using goth, using my local db tables?

Collapse
 
cmelgarejo profile image
Christian Melgarejo

Well yes, actually that's why I added a fallback to do an API key generation, but you want simeple auth, have to implement your own user/passwd middleware and route in pkg/server/routes/auth.go to do a custom a login flow without goth

Collapse
 
coilnovasince1985 profile image
coilnovasince1985

Alright, thanks