fix: improve oidc issuer / endpoints (#3753)

* fix: improve oidc issuer / endpoints

* docs: update endpoints
This commit is contained in:
Livio Spring
2022-06-07 10:04:51 +02:00
committed by GitHub
parent 3a1569bd94
commit 5e4b38d69b
6 changed files with 32 additions and 20 deletions

View File

@@ -31,7 +31,6 @@ type Server struct {
passwordHashAlg crypto.HashAlgorithm
userCodeAlg crypto.EncryptionAlgorithm
externalSecure bool
issuerPath string
auditLogRetention time.Duration
}
@@ -41,7 +40,6 @@ func CreateServer(
sd systemdefaults.SystemDefaults,
userCodeAlg crypto.EncryptionAlgorithm,
externalSecure bool,
issuerPath string,
auditLogRetention time.Duration,
) *Server {
return &Server{
@@ -52,7 +50,6 @@ func CreateServer(
passwordHashAlg: crypto.NewBCrypt(sd.SecretGenerators.PasswordSaltCost),
userCodeAlg: userCodeAlg,
externalSecure: externalSecure,
issuerPath: issuerPath,
auditLogRetention: auditLogRetention,
}
}