Skip to content
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

Problem + solution #1

Open
lmaran opened this issue Dec 7, 2013 · 1 comment
Open

Problem + solution #1

lmaran opened this issue Dec 7, 2013 · 1 comment

Comments

@lmaran
Copy link

lmaran commented Dec 7, 2013

The problem is related to Oauth.Demos.AuthzCodeGrant repository but its "Issues" option is disable:
The problem:
After running the project, in the last step in the OAuth flow, I receive the following message:
error
Cause:
Running the Fiddler I found out that Github expects an user-agent header:
fiddlerinfo
Also the Github dev site mentions that setting the user-agent header is necessary.
Solution:
Add the Github username or the name of the application as a "user-agent":
solution
The final result:
solved

Hope it will helps someone!

@pmhsfelix
Copy link
Contributor

Many thanks for the issue. This sample is more than one year old and the GitHub User-Agent requirement is newer than that. I've just fixed it.
I've also opened the issues on the repository, so please feel free to create one if you any more issues.
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants