add oauth loginlog & fix bugs
This commit is contained in:
1 parent
ebd1feb8d1
commit
a4b413dadb
48 files changed
+3477
-184
No files matched your search
@@ -0,0 +1,13 @@
|
||||
package config
|
||||
|
||||
type GithubOauth struct {
|
||||
ClientId string `mapstructure:"client-id"`
|
||||
ClientSecret string `mapstructure:"client-secret"`
|
||||
RedirectUrl string `mapstructure:"redirect-url"`
|
||||
}
|
||||
|
||||
type GoogleOauth struct {
|
||||
ClientId string `mapstructure:"client-id"`
|
||||
ClientSecret string `mapstructure:"client-secret"`
|
||||
RedirectUrl string `mapstructure:"redirect-url"`
|
||||
}
|
||||
Reference in new issue
Block a user