-
Notifications
You must be signed in to change notification settings - Fork 106
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
Some examples on the Security Update API page are wrong #4
Comments
Thanks for keen eye, Matt! The APIs accept two forms of authentication, API keys and access tokens. The option to use access tokens in the Authorization header is for internal use only today (it only accepts tokens from the Microsoft AAD tenant). I'll update the help to omit that part of the samples. |
Hi @mattfoster ; |
Hi,
https://portal.msrc.microsoft.com/en-us/develope
Looks like it's missing a "r" from the end, that could be your problem.
…On Wed, 17 May 2017 at 14:41, IrootGeek ***@***.***> wrote:
Hi @mattfoster <https://github.com/mattfoster> ;
I try to get API KEY of https://portal.msrc.microsoft.com/en-us/develope
but i have the same problem redirect to home page "
https://portal.msrc.microsoft.com/en-us/"
How a bout you, do you get your API Key?
Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#4 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAAKRBqqckY_0_FVLIdrIsy6z5P34xZ7ks5r6vkFgaJpZM4M8ZCx>
.
|
Hi @mattfoster , |
Hi @IrootGeek, I didn't have any problems getting an API key, I just signed in and it worked when I hit the button. Maybe someone from Microsoft can help you. |
The last part of this thread runs along side issue #15. In regards to the original issue, we do not maintain the portal page. Issues pertaining to that can be posted here: https://social.technet.microsoft.com/Forums/security/en-us/home?forum=securityupdateguide But yes, you don't have to worry about the Authorization header. |
Here's an example of a curl command that worked.
|
Merge pull request #74 from p0w3rsh3ll/master
Apologies if this is the wrong place to report this sort of feature request. Please let me know if I should file this elsewhere.
The examples on https://portal.msrc.microsoft.com/en-us/developer don't appear to be correct.
Most of the example reference an access token, for example:
But there is no information on how to obtain such a token, and the example requests work without adding the
Authorization
header. In addition, the accompanying documentation does not mention this token.The text was updated successfully, but these errors were encountered: