first draft of home page
This commit is contained in:
@@ -17,13 +17,6 @@ import (
|
||||
"ruben/inventory2/internal/site/response"
|
||||
)
|
||||
|
||||
// just keep this around long enough for testing auth middleware..
|
||||
func (s *Server) testAuthEndpoint(r *http.Request) (response.Response, error) {
|
||||
fmt.Println("AUTH TEST SUCCESS:", getIdentity(r.Context()))
|
||||
|
||||
return response.TemporaryRedirect("/"), nil
|
||||
}
|
||||
|
||||
type identity struct {
|
||||
AccessToken string
|
||||
Claims authentication.AccessTokenClaims
|
||||
|
||||
Reference in New Issue
Block a user