-
Notifications
You must be signed in to change notification settings - Fork 485
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(casdoor): use certificate path instead to address env issue #584
- Loading branch information
Showing
9 changed files
with
62 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
package settings | ||
|
||
type Casdoor struct { | ||
Endpoint string `json:"endpoint" protected:"true"` | ||
ClientId string `json:"client_id" protected:"true"` | ||
ClientSecret string `json:"client_secret" protected:"true"` | ||
Certificate string `json:"certificate" protected:"true"` | ||
Organization string `json:"organization" protected:"true"` | ||
Application string `json:"application" protected:"true"` | ||
RedirectUri string `json:"redirect_uri" protected:"true"` | ||
Endpoint string `json:"endpoint" protected:"true"` | ||
ClientId string `json:"client_id" protected:"true"` | ||
ClientSecret string `json:"client_secret" protected:"true"` | ||
CertificatePath string `json:"certificate_path" protected:"true"` | ||
Organization string `json:"organization" protected:"true"` | ||
Application string `json:"application" protected:"true"` | ||
RedirectUri string `json:"redirect_uri" protected:"true"` | ||
} | ||
|
||
var CasdoorSettings = Casdoor{ | ||
Endpoint: "", | ||
ClientId: "", | ||
ClientSecret: "", | ||
Certificate: "", | ||
Organization: "", | ||
Application: "", | ||
RedirectUri: "", | ||
Endpoint: "", | ||
ClientId: "", | ||
ClientSecret: "", | ||
CertificatePath: "", | ||
Organization: "", | ||
Application: "", | ||
RedirectUri: "", | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters