🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

github.com/go-pkgz/auth/_example

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/go-pkgz/auth/_example

v0.0.0-20250415030422-4f9f2c5e3b0d
Source
Go
Version published
Created
Source

go-pkgz/auth example

build and try

  • run go run main.go
  • open route: http://localhost:8080/open
  • web application - http://localhost:8080/web

parameters

No command line parameters needed. To enable github provider define two env variables:

  • AEXMPL_GITHUB_CID - github client id
  • AEXMPL_GITHUB_CSEC - github client secret

see https://github.com/go-pkgz/auth#github-auth-provider

FAQs

Package last updated on 15 Apr 2025

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