identityserver

package
v3.30.0 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultIdentityServerConfig = identityserver.Config{
	DatabaseURI: "postgresql://root:root@localhost:5432/ttn_lorawan_dev?sslmode=disable",
	OAuth: oauth.Config{
		Mount: "/oauth",
		UI: oauth.UIConfig{
			TemplateData: webui.TemplateData{
				SiteName:      "The Things Stack for LoRaWAN",
				Title:         "Account",
				Language:      "en",
				CanonicalURL:  shared.DefaultOAuthPublicURL,
				AssetsBaseURL: shared.DefaultAssetsBaseURL,
				IconPrefix:    "oauth-",
				CSSFiles:      []string{"account.css"},
				JSFiles:       []string{"libs.bundle.js", "account.js"},
			},
			FrontendConfig: oauth.FrontendConfig{
				DocumentationBaseURL: "https://thethingsindustries.com/docs",
				StackConfig: oauth.StackConfig{
					IS: webui.APIConfig{Enabled: true, BaseURL: shared.DefaultPublicURL + "/api/v3"},
				},
				ConsoleURL: "/console",
			},
		},
	},
}

DefaultIdentityServerConfig is the default configuration for the Identity Server.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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