Hello! I have multiple questions.
I'm developing backend written in Golang.
1) I'm trying to override every error response... is there any specific guide? I tried reading the documentation but I'm not sure what I'm looking for. I mean, I get to the point where I kinda know what I want to override but I'm not sure how I have to modify the function body
2) What's the difference between a session and validating, let's say, a JWT?
3) I'm using email+pw+social recipe, should I use session as well?
4) I have created a logging and respond middleware (it's pretty simple) but I write the status and body into gin context keys so I could fetch them easily after. I'f I have to override a session method there's no way I could receive a different context other than the one in the option request?
I'm actually looking for something pretty simple -> sign up, login, check if the user is logged with a middleware and logout 🙂