func CreateVerificationToken(email string, tokenType string) (string, error) {
	t := jwt.New(jwt.GetSigningMethod(constants.JWT_TYPE))
	t.Claims = &CustomClaim{
		&jwt.StandardClaims{
			ExpiresAt: time.Now().Add(time.Minute * 30).Unix(),
		},
		tokenType,
		UserInfo{Email: email, Host: constants.AUTHORIZER_URL},
	}
	return t.SignedString([]byte(constants.JWT_SECRET))
}
TODO convert tokenType to enum
package utils
import (
	"time"
	"github.com/authorizerdev/authorizer/server/constants"
	"github.com/golang-jwt/jwt"
)
type UserInfo struct {
	Email string `json:"email"`
	Host  string `json:"host"`
}
type CustomClaim struct {
	*jwt.StandardClaims
	TokenType string `json:"token_type"`
	UserInfo
}