-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
URL encode client secret #10
Comments
@pdx-mikaelberg |
Here is what I added / updated. I thought about encoding the whole body to be safe, but decided to just go with the client secret as the other values should not have the characters that would cause issues. Then it makes the calls easier to read in Fiddler or other debugging tools.
|
Microsoft-Store-Services/Microsoft.StoreServices/Microsoft.StoreServices/Authentication/AccessTokenProvider.cs
Line 103 in ff47ebc
It'd be a good idea to URL encode the client secret here, since there is no limitation on what characters it may contain. I used one containing the % sign and ended up getting 401s.
URL encoding the secret solved it:
The text was updated successfully, but these errors were encountered: