Add TokenFields to application

This commit is contained in:
Yang Luo
2024-01-09 22:09:21 +08:00
parent 280867d0cb
commit b118a3bb76
7 changed files with 29 additions and 8 deletions

View File

@ -145,11 +145,14 @@ func readInitDataFromFile(filePath string) (*InitData, error) {
if application.GrantTypes == nil {
application.GrantTypes = []string{}
}
if application.Tags == nil {
application.Tags = []string{}
}
if application.RedirectUris == nil {
application.RedirectUris = []string{}
}
if application.Tags == nil {
application.Tags = []string{}
if application.TokenFields == nil {
application.TokenFields = []string{}
}
}
for _, permission := range data.Permissions {