Skip to content

Simple authentification service written in golang that uses refresh and access tokens and communicates with external services.

License

Notifications You must be signed in to change notification settings

CyberTea0X/goauth

Repository files navigation

goauth

Simple authentification service written in golang that uses refresh and access tokens and communicates with external services.

Tests Docker CI

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.

Documentation

  • See documentation of this service here
  • See requirements for external service for this service here

About

Simple authentification service written in golang that uses refresh and access tokens and communicates with external services.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages