Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/jc2820/gocookies

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/jc2820/gocookies

  • v0.0.0-20211012135845-9fd80e53360a
  • Source
  • Go
  • Socket score

Version published
Created
Source

Go cookies and JWT

Implementing a very basic web app to try out JWT based authorisation via cookie storage for a private route using Go.

This is not a test of secure authentication, encryption or data storage, so the page uses a very obvious password and no attempt to hash and store passwords, CRUD etc.

To run this project

  1. Have Go installed on your system. This was made with v1.17. Grab here if needed.
  2. Clone this repo to your system.
  3. In the route folder run go mod download to get dependencies
  4. run go run main.go to start the server.
  5. Navigate to localhost:5000 in the browser to view the app.

FAQs

Package last updated on 12 Oct 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc