goauth

module
v0.0.0-...-15b6e06 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 27, 2024 License: BSD-2-Clause

README

goauth - OAuth 2.0 Authorization Code Flow with PKCE

Trivial implementation (for now), of the OAuth 2.0 Authorization Code Flow with PKCE (backend side).

Run

go build ./cmd/goauth
./goauth

Build

For creating a container image the script build-container-image.sh can be used. This script supports building the image with podman and docker. Podman is the default configuration of this script. For using docker the flag "D" has to be set.

Build with podman:

./build-container-image.sh <tag-name>

Build with docker:

./build-container-image.sh -D <tag-name>

Tools

keygen

Dependencies: crypto

Tool for generating the secret key for creating a jwt

Running

gcc -o myKeygen keygen.c -lcrypto
sqlitecli

Dependencies: sqlite3

Toy tool for listing tables and executing queries from cli

Directories

Path Synopsis
cmd
goauth command
internal
db

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL