implement jwt claims
This commit is contained in:
1
main.go
1
main.go
@@ -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)))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user