endpoint_sessions.go: add the redirect URL in the html body text (#4328)

This makes debug easier in case the browser get stuck on the redirect page.
This commit is contained in:
Frederico F. de Oliveira 2022-02-23 19:43:23 -03:00 committed by GitHub
parent 18e7c8e236
commit 9b02722e08
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -127,7 +127,7 @@ func makeCallbackSSOEndpoint(svc fleet.Service, urlPrefix string) endpoint.Endpo
window.location = redirectURL;
</script>
<body>
Redirecting to Fleet...
Redirecting to Fleet at {{ .RedirectURL }} ...
</body>
</html>
`