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

Sample code on azure websites - google authentication #6

Open
vathuluri opened this issue Jun 15, 2015 · 7 comments
Open

Sample code on azure websites - google authentication #6

vathuluri opened this issue Jun 15, 2015 · 7 comments

Comments

@vathuluri
Copy link

Hi Linda, This is a nice article and very good implementation. Have you ever tried deploying this to any azure websites? I cant get it to work pass this point.

var credential = GoogleWebAuthorizationBroker.AuthorizeAsync(new ClientSecrets { ClientId = clientId, ClientSecret = clientSecret }
, scopes
, userName
, CancellationToken.None
, credentialPersistanceStore).Result;

and the logs weren't very helpful.

@LindaLawton
Copy link
Owner

I don't have access to Azure so no i haven't tried any of this on Azure. I can do a little research I know someone that might have done this.

@vathuluri
Copy link
Author

Thanks for your response Linda. You can signup for Microsoft azure websites. They have a free subscription where you can host up to 10 azure websites as of now.

http://azure.microsoft.com/en-us/pricing/details/websites/

@LindaLawton
Copy link
Owner

I didn't know you could get a free one. This just got bumped to the top of my list. It would be nice to have some samples that are verified to work on Azure.

@Dmitry-Klymenko
Copy link

Still can't get this to work with Azure.
var credential = GoogleWebAuthorizationBroker.AuthorizeAsync(
throws a [HttpListenerException (0x5): Access is denied] exception

@LindaLawton
Copy link
Owner

This might help HttpListener Access Denied

@Dmitry-Klymenko
Copy link

Dmitry-Klymenko commented Jan 3, 2017 via email

@LindaLawton
Copy link
Owner

Same issue as #16 and #19

I need to add samples for web Auth. Currently i am only building for installed applications.

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

No branches or pull requests

3 participants