How to do authorization in graphql with gqlgen library in go
I am searching for the best technique to implement authorization in GraphQL. I am working on an ecommerce project where I need to secure routes based on user roles. Could anyone please provide a brief overview of the different techniques I can leverage to implement authorization using the gqlgen library !