LUAU is pronounced /ˈlo͞oou/
- golang 1.19
- go-gin
- SQLite3
- via CLI CTL
Example:
$ go build -o ./bin/luauctl cli.go
$ ./bin/luauctl db create
$ ./bin/luauctl clients create [NAME] [REDIRECT_URI]
- via CLI CTL
Example:
$ go build -o ./bin/luauctl cli.go
$ ./bin/luauctl db create
$ ./bin/luauctl accounts create -u <username> -p <password>
- OAuth2
- Authorization Code
- PKCE - not implemented
Example:
Redirect to signin
HTTP/1.1 302 Found
Location: https://luau.com/authenticate?
response_type=code
&scope=openid
&client_id=
&redirect_uri=
Request Token
POST /token HTTP/1.1
Server: https://luau.com
Content-Type: application/x-www-form-urlencoded
grant_type=authorization_code
client_id=
redirect_uri=
-
Stateless HMAC256 JWT
- key is client_secret
-
Register all of new sessions creation
- Delete JWT locally