Skip to content

Commit

Permalink
existing PUT endpoint updates oauth app meta data (TykTechnologies#2585)
Browse files Browse the repository at this point in the history
added changes for TykTechnologies/tyk-analytics#1432

please note that endpoint was already there but updating oauth metadata was disabled (so this PR enables it).

this also requires updating docs because existing PUT-endpoint is missing there
  • Loading branch information
dencoded authored and buger committed Oct 4, 2019
1 parent ea952cc commit 0c10008
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gateway/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -1580,7 +1580,7 @@ func updateOauthClient(keyName, apiID string, r *http.Request) (interface{}, int
ClientSecret: client.GetSecret(), // DO NOT update
ClientRedirectURI: updateClientData.ClientRedirectURI, // update
PolicyID: updateClientData.PolicyID, // update
MetaData: client.GetUserData(), // DO NOT update
MetaData: updateClientData.MetaData, // update
Description: updateClientData.Description, // update
}

Expand Down

0 comments on commit 0c10008

Please sign in to comment.