diff options
| author | James Elliott <james-d-elliott@users.noreply.github.com> | 2021-07-15 21:02:03 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-15 21:02:03 +1000 |
| commit | 8342a46ba1efe9d695dc9ad1d59c4fd4a194e7f2 (patch) | |
| tree | 2ec0d15f07816249e4a5419d491712d106da4c6d /internal/configuration/validator/authentication_test.go | |
| parent | 0da770d900391160f89f13d0a00b2feed913e3f4 (diff) | |
feat(oidc): implement client type public (#2171)
This implements the public option for clients which allows using Authelia as an OpenID Connect Provider for cli applications and SPA's where the client secret cannot be considered secure.
Diffstat (limited to 'internal/configuration/validator/authentication_test.go')
| -rw-r--r-- | internal/configuration/validator/authentication_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/configuration/validator/authentication_test.go b/internal/configuration/validator/authentication_test.go index 5b4477e35..f38ea9c1f 100644 --- a/internal/configuration/validator/authentication_test.go +++ b/internal/configuration/validator/authentication_test.go @@ -443,7 +443,7 @@ func (suite *LDAPAuthenticationBackendSuite) TestShouldHelpDetectNoInputPlacehol } func (suite *LDAPAuthenticationBackendSuite) TestShouldAdaptLDAPURL() { - suite.Assert().Equal("", validateLDAPURLSimple("127.0.0.1", suite.validator)) + suite.Assert().Equal("", validateLDAPURLSimple(loopback, suite.validator)) suite.Assert().False(suite.validator.HasWarnings()) suite.Require().Len(suite.validator.Errors(), 1) |
