From 1a2d4f2b1801b1d120a0b99b72684b460fdd4b37 Mon Sep 17 00:00:00 2001 From: Gabriel Chamon Araujo Date: Thu, 16 Jun 2022 13:20:03 -0300 Subject: [PATCH] Fix/remove old crewjam saml (#217) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Old content * fix * Fix 2, Initializing email field * Redirect to /user/edit path only needed if we are admin. * Mention `SUBSPACE_ENDPOINT_HOST` in the Readme * fixing small typo in readme * added environment variable to disable DNS entry in wireguard conf * changing local variable name in if * SUBSPACE_DISABLE_DNS now a flag; if set with any value, it is activated * added option to disable dns in wireguard conf * updated readme * using same topology of RequireAccount for sso and webhandler * casting session to JWTSessionClaims * removed commented code * removed debug from entrypoint * restored debug messages * update go.mod * logging session error from samlsp * chaning session log to debug * debugging all session errors * removing old crewjam saml reference * fix disableDNS type and implementation to match upstream Co-authored-by: Jack <39212456+jack1902@users.noreply.github.com> Co-authored-by: Adrián González Barbosa Co-authored-by: Jared P Bostic Co-authored-by: Fabian Co-authored-by: Miroslav Shubernetskiy Co-authored-by: Gabriel Chamon Araujo --- go.sum | 2 -- 1 file changed, 2 deletions(-) diff --git a/go.sum b/go.sum index b555c3a6..aa7bd6e4 100644 --- a/go.sum +++ b/go.sum @@ -6,8 +6,6 @@ github.com/beevik/etree v1.1.0 h1:T0xke/WvNtMoCqgzPhkX2r4rjY3GDZFi+FjpRZY2Jbs= github.com/beevik/etree v1.1.0/go.mod h1:r8Aw8JqVegEf0w2fDnATrX9VpkMcyFeM0FhwO62wh+A= github.com/crewjam/httperr v0.0.0-20190612203328-a946449404da h1:WXnT88cFG2davqSFqvaFfzkSMC0lqh/8/rKZ+z7tYvI= github.com/crewjam/httperr v0.0.0-20190612203328-a946449404da/go.mod h1:+rmNIXRvYMqLQeR4DHyTvs6y0MEMymTz4vyFpFkKTPs= -github.com/crewjam/saml v0.3.0 h1:nsICCm1susKcMzqhZ+XwOvYUG55Omu1dHlyyknhgh1M= -github.com/crewjam/saml v0.3.0/go.mod h1:pzACCdpqjQKTvpPZs5P3FzFNQ+RSOJX5StwHwh7ZUgw= github.com/crewjam/saml v0.4.5 h1:H9u+6CZAESUKHxMyxUbVn0IawYvKZn4nt3d4ccV4O/M= github.com/crewjam/saml v0.4.5/go.mod h1:qCJQpUtZte9R1ZjUBcW8qtCNlinbO363ooNl02S68bk= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=