I am using "github.com/dgrijalva/jwt-go", and able to send a token to my frontend, and what I would like to know how I could retrieve the token sent from the front
Credit: https://github.com/harlow/authtoken/blob/master/authtoken.go
const BEARER_SCHEMA = "Bearer " authHeader := req.Header.Get("Authorization") token := authHeader[len(BEARER_SCHEMA):]