Skip to content

Commit

Permalink
feat: add alternate token url for testing changing the token url
Browse files Browse the repository at this point in the history
  • Loading branch information
TristanSpeakEasy committed Aug 12, 2024
1 parent bf8ac67 commit 3fd9189
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/server/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ func main() {
r.HandleFunc("/eventstreams/differentdataschemas", eventstreams.HandleEventStreamDifferentDataSchemas).Methods(http.MethodPost)
r.HandleFunc("/clientcredentials/token", clientcredentials.HandleTokenRequest).Methods(http.MethodPost)
r.HandleFunc("/clientcredentials/authenticatedrequest", clientcredentials.HandleAuthenticatedRequest).Methods(http.MethodPost)
r.HandleFunc("/clientcredentials/alt/token", clientcredentials.HandleTokenRequest).Methods(http.MethodPost)
r.HandleFunc("/clientcredentials/alt/authenticatedrequest", clientcredentials.HandleAuthenticatedRequest).Methods(http.MethodPost)
r.HandleFunc("/reflect", reflect.HandleReflect).Methods(http.MethodPost)

handler := middleware.Fault(r)
Expand Down

0 comments on commit 3fd9189

Please sign in to comment.