ContainerImage.Pinniped/internal/oidc/provider
Matt Moyer 71d4e05fb6
Add custom response_mode=form_post HTML template.
This is a new pacakge internal/oidc/provider/formposthtml containing a number of static files embedded using the relatively recent Go "//go:embed" functionality introduced in Go 1.16 (https://blog.golang.org/go1.16).

The Javascript and CSS files are minifiied and injected to make a single self-contained HTML response. There is a special Content-Security-Policy helper to calculate hash-based script-src and style-src rules.

This new code is covered by a new integration test that exercises the JS/HTML functionality in a real browser outside of the rest of the Supervisor.

Signed-off-by: Matt Moyer <moyerm@vmware.com>
2021-07-09 12:08:43 -05:00
..
formposthtml Add custom response_mode=form_post HTML template. 2021-07-09 12:08:43 -05:00
manager Add an API version to the Supervisor IDP discovery endpoint 2021-05-13 10:05:56 -07:00
dynamic_tls_cert_provider.go Add a way to set a default supervisor TLS cert for when SNI won't work 2020-10-27 16:33:08 -07:00
dynamic_upstream_idp_provider.go Add user search base to downstream subject for upstream LDAP 2021-05-26 17:04:20 -07:00
federation_domain_issuer_test.go Rename all "op" and "opc" usages 2020-12-17 11:34:49 -08:00
federation_domain_issuer.go Rename all "op" and "opc" usages 2020-12-17 11:34:49 -08:00