Sign inSign up

xmaayy/authy

By xmaayy

•Updated about 5 years ago

Rust authentication

Image
0

189

xmaayy/authy repository overview

⁠Authy

⁠A rust authentication server

I've been experimenting a lot with web services lately and a lot of the authentication services fell into one of the following categories:

  • By a behemoth (google, et al) and I wanted less reliance on their services
  • Paid, and I'm a student
  • Open source but wayyyyy too complicated (https://github.com/ory⁠)
  • etc

Plus I have the motto SIMMO (So I made my own).

⁠What it can do

Sign users up with a username and password (no Server Side val on them, planned to do that in the future though). Log users in with the aforementioned credentials and reply with an access and a refresh token. It can also validate the access token, and create a new token tuple when provided with a valid refresh token. Look at the GitHub repo for more info on what it is / how to use it.

⁠Config

Almost none to speak of. Here's the docker-compose.yaml section I use. You really only need to make sure the ports are exposed and that you have a volume for the database if you want it to persist.

authentication:
    image: xmaayy/authy:0.3
    ports:
      - "8000:8000"
    volumes:
      # Only use the following line if you want to keep the database
      - <local path to store database>:/usr/src/authy/database

Tag summary

Content type

Image

Digest

Size

34.1 MB

Last updated

about 5 years ago

docker pull xmaayy/authy:0.3