spproxy

command
v0.0.0-...-eaa17bf Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 24, 2024 License: MIT Imports: 11 Imported by: 0

README

Local Dev Proxy

Use-cases

During front-end development, it is common starting a local dev server with the application and API server. The sample shows an essential local proxy for bypassing anonymous requests from a workbench to a SharePoint server. That can save lots of time spent on mocking responses up.

Another scenario could be to put such a server between SharePoint and 3rd party application, which for some reason doesn't support some authentication mechanism, and it's not possible to inject this auth into a tool.

Start

go run ./samples/spproxy -strategy adfs -config ./config/private.json -port 9090

HTTPS

openssl genrsa -out ./config/certs/private.key 2048
openssl req -new -x509 -sha256 -key ./config/certs/private.key -out ./config/certs/public.crt -days 3650
go run ./samples/spproxy -strategy adfs -config ./config/private.onprem-wap-adfs.json -port 443 -sslKey ./config/certs/private.key -sslCert ./config/certs/public.crt

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL