File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6767 throw new Error ( "Missing the required parameter 'scope' when calling Login" ) ;
6868 }
6969
70- var postBody = 'grant_type=password&scope=' + this . sdk . buildCollectionParam ( scope , 'plus' ) + '&client_id=' + clientID + '&username=' + username + '&password=' + password ;
70+ var postBody = 'grant_type=password&scope=' + this . sdk . buildCollectionParam ( scope , 'plus' ) + '&client_id=' + clientID + '&username=' + encodeURIComponent ( username ) + '&password=' + encodeURIComponent ( password ) ;
7171
7272 var pathParams = { } ;
7373 var queryParams = { } ;
113113 throw new Error ( "Missing the required parameter 'scope' when calling ElevatedLogin" ) ;
114114 }
115115
116- var postBody = 'grant_type=password&scope=' + this . sdk . buildCollectionParam ( scope , 'plus' ) + '&client_secret=' + clientSecret + '&client_id=' + clientID + '&username=' + username + '&password=' + password ;
116+ var postBody = 'grant_type=password&scope=' + this . sdk . buildCollectionParam ( scope , 'plus' ) + '&client_secret=' + clientSecret + '&client_id=' + clientID + '&username=' + encodeURIComponent ( username ) + '&password=' + encodeURIComponent ( password ) ;
117117
118118 var pathParams = { } ;
119119 var queryParams = { } ;
You can’t perform that action at this time.
0 commit comments