undo example testing changes

This commit is contained in:
Tim Möhlmann 2023-08-18 17:39:03 +02:00
parent 508f6d719c
commit ee72eb00c7
3 changed files with 5 additions and 5 deletions

View file

@ -72,7 +72,7 @@ func SetupServer(issuer string, storage Storage, extraOptions ...op.Option) *mux
//
// if your issuer ends with a path (e.g. http://localhost:9998/custom/path/),
// then you would have to set the path prefix (/custom/path/)
router.PathPrefix("/oidc/").Handler(http.StripPrefix("/oidc", provider.HttpHandler()))
router.PathPrefix("/").Handler(provider.HttpHandler())
return router
}