implement jwt claims

This commit is contained in:
2024-09-24 11:11:28 -05:00
parent f6e9ee7b1a
commit a7235941e7
5 changed files with 63 additions and 2 deletions

View File

@@ -23,6 +23,7 @@ func main() {
mux.Handle(core.Login, &handler)
mux.Handle(core.RenewAttributes, &handler)
mux.Handle(core.RandomSvgInterface, &handler)
mux.Handle(core.RefreshToken, &handler)
fmt.Println("Running on localhost:8080...")
log.Fatal(http.ListenAndServe("localhost:8080", corsMiddleware(mux)))
}