mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-10 18:05:48 +02:00
feat: add external url for casdoor #603
This commit is contained in:
parent
6f9046485b
commit
835349c33f
5 changed files with 27 additions and 10 deletions
|
@ -2,6 +2,7 @@ package settings
|
|||
|
||||
type Casdoor struct {
|
||||
Endpoint string `json:"endpoint" protected:"true"`
|
||||
ExternalUrl string `json:"external_url" protected:"true"`
|
||||
ClientId string `json:"client_id" protected:"true"`
|
||||
ClientSecret string `json:"client_secret" protected:"true"`
|
||||
CertificatePath string `json:"certificate_path" protected:"true"`
|
||||
|
@ -10,12 +11,4 @@ type Casdoor struct {
|
|||
RedirectUri string `json:"redirect_uri" protected:"true"`
|
||||
}
|
||||
|
||||
var CasdoorSettings = &Casdoor{
|
||||
Endpoint: "",
|
||||
ClientId: "",
|
||||
ClientSecret: "",
|
||||
CertificatePath: "",
|
||||
Organization: "",
|
||||
Application: "",
|
||||
RedirectUri: "",
|
||||
}
|
||||
var CasdoorSettings = &Casdoor{}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue