Skip to content

Commit

Permalink
Remove hardcoded parameter from request body
Browse files Browse the repository at this point in the history
client_request_id is not even a valid option for this endpoint
  • Loading branch information
Jnchi authored Feb 21, 2019
1 parent 335cbe2 commit 17bc092
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/rest.c
Original file line number Diff line number Diff line change
Expand Up @@ -241,8 +241,6 @@ int read_code_from_microsoft(const char *client_id,
strcpy(post_buf, "resource=00000002-0000-0000-c000-000000000000");
strcat(post_buf, "&client_id=");
strcat(post_buf, client_id);
strcat(post_buf, "&client_request_id=");
strcat(post_buf, "5929459294929");
strcat(post_buf, "&scope=profile");

/* Data to create a HTTP request */
Expand Down

0 comments on commit 17bc092

Please sign in to comment.