niehusst / net-go

The game Go over the internet.
GNU General Public License v3.0
0 stars 0 forks source link

create auth middleware that requires the auth cookie to be set for authed api endpoints #39

Open niehusst opened 11 months ago

niehusst commented 11 months ago

reject 401 if cookie not found/incorrect

niehusst commented 11 months ago

logout will not require auth. only need clearing httpOnly browser cookie value