duckhamqng / google-api-dotnet-client

Automatically exported from code.google.com/p/google-api-dotnet-client
Apache License 2.0
0 stars 0 forks source link

The documentation for the .NET OAuth library is missing critical information #457

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Follow the instructions for the sample at
https://developers.google.com/api-client-library/dotnet/guide/aaa_oauth#web_appl
ications

What is the expected output?
A working application

What do you see instead?
Errors about the redirect URL where the URL sent to google is a string I never 
wrote anywhere. I tried searching my entire solution for it, and it's no where!

I finally found the redirect URL in the source code for the library
https://code.google.com/p/google-api-dotnet-client/source/browse/Src/GoogleApis.
Auth.Mvc4/OAuth2/Mvc/FlowMetadata.cs#46

The docs should be improved by indicating this property is absolutely critical.

The method should be declared abstract because the callback URL should not be 
implicit.

Original issue reported on code.google.com by TERMINAT...@ogilvy.com on 8 Apr 2014 at 8:36

GoogleCodeExporter commented 9 years ago

Original comment by pele...@google.com on 9 Apr 2014 at 1:20

GoogleCodeExporter commented 9 years ago
https://devsite.googleplex.com/api-client-library/dotnet/guide/aaa_oauth#web_app
lications

Thanks for letting us know!
Keep update if you find more places where we need to improve our documentation.

Original comment by pele...@google.com on 12 Apr 2014 at 2:34