Categorygithub.com/AlpacaLabs/api-auth
modulepackage
0.0.0-20200519020852-799d07a65ce2
Repository: https://github.com/alpacalabs/api-auth.git
Documentation: pkg.go.dev

# README

Authentication

This is the primary µService for Alpaca. It manages user credentials (username, email, phone number)

Using the API

Creating a user

http POST localhost:8080/account username="kevin_chen" email_address="[email protected]"

Set password

http PUT localhost:8080/account/970480225798328320/password password="MyPassword123Is-Super-Secure"

Logging in

http POST localhost:8080/token login="kevin_chen" password="MyPassword123Is-Super-Secure"