Simple authentification service written in golang that uses refresh and access tokens and communicates with external services.
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
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.