Skip to content
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions server/flow.go
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ func (fm *FlowManager) submitOAuthConfig(f *flow.Flow, submitted map[string]inte

clientID = strings.TrimSpace(clientID)

if len(clientID) != 64 {
if len(clientID) < 64 {
errorList["client_id"] = "Client ID should be 64 characters long"
Comment thread
mickmister marked this conversation as resolved.
Outdated
}

Expand All @@ -524,7 +524,7 @@ func (fm *FlowManager) submitOAuthConfig(f *flow.Flow, submitted map[string]inte

clientSecret = strings.TrimSpace(clientSecret)

if len(clientSecret) != 64 {
if len(clientSecret) < 64 {
errorList["client_secret"] = "Client Secret should be 64 characters long"
}

Expand Down