I
I
IngwineForest2019-07-15 22:46:49
go
IngwineForest, 2019-07-15 22:46:49

How to do basic authorization using Echo and Gorilla Sessions?

Greetings!
I continue to learn Golang by writing a small blog.
I use the Echo framework, mastered CRUD, and a number of other things, but unfortunately I can’t figure out how to work with authorization.
Please help me to make Basic Auth Middleware using sessions.
I found an example (CookiestoreSession) on Gorilla Sessions, but I can't make friends with Echo.
Thank you!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
alfss, 2019-07-15
@alfss

https://echo.labstack.com/guide/cookies are all here.
You decide what you need, basic auth or cookies session + some kind of authentication.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question