mirror of
https://github.com/steveiliop56/tinyauth.git
synced 2026-06-17 00:40:15 +00:00
chore: rabbit comments
This commit is contained in:
@@ -163,12 +163,6 @@ func (app *BootstrapApp) Setup() error {
|
||||
app.runtime.OAuthProviders[id] = provider
|
||||
}
|
||||
|
||||
// setup oidc clients
|
||||
for id, client := range app.config.OIDC.Clients {
|
||||
client.ID = id
|
||||
app.runtime.OIDCClients = append(app.runtime.OIDCClients, client)
|
||||
}
|
||||
|
||||
// cookie domain
|
||||
cookieDomainResolver := utils.GetCookieDomain
|
||||
|
||||
|
||||
@@ -71,13 +71,11 @@ func (app *BootstrapApp) setupServices() error {
|
||||
}
|
||||
|
||||
err = app.dig.Invoke(func(i svcInput) error {
|
||||
app.services = Services{
|
||||
accessControlService: i.AccessControlService,
|
||||
authService: i.AuthService,
|
||||
ldapService: i.LDAPService,
|
||||
oauthBrokerService: i.OAuthBrokerService,
|
||||
tailscaleService: i.TailscaleService,
|
||||
}
|
||||
app.services.accessControlService = i.AccessControlService
|
||||
app.services.authService = i.AuthService
|
||||
app.services.ldapService = i.LDAPService
|
||||
app.services.oauthBrokerService = i.OAuthBrokerService
|
||||
app.services.tailscaleService = i.TailscaleService
|
||||
return nil
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user