modulepackage
0.0.0-20240410185106-a2066d238e8a
Repository: https://github.com/cybertea0x/goauth.git
Documentation: pkg.go.dev
# README
goauth
Simple authentification service written in golang that uses refresh and access tokens and communicates with external services.
How to run
Dockerhub
Copy config_test.toml from this repository and rename it to config.toml. Edit config.toml and set your preferred values.
Then you can enter the following command:
docker run \
-v ./config.toml:/goauth/config.toml \
--network="host" \
--rm cybertea0x/goauth
Build from source
Make sure you installed and configured the latest golang version.
Clone this repository
git clone https://github.com/CyberTea0X/goauth
Then build binary
cd goauth
go build -o goauth
Place the binary where you need it and then copy the config_test.toml
file there.
Rename config_test.toml
to config.toml
, configure this file, make sure mysql is running
and then you can start the server by running the executable.