hubspot-net / HubSpot.NET

C# .NET Wrapper around the common HubSpot APIs.
MIT License
112 stars 137 forks source link

Missing OAuth Constructor #72

Open BenMicucci opened 4 years ago

BenMicucci commented 4 years ago

Describe the bug After installing the Nuget package here, I am unable to create a new HubSpotApi project using the OAuth authentication mechanism. I am only able to create the object using an api key, which is not as secure as OAuth.

Repro Steps

Expected behavior Two options available when creating a new HubSpotApi object.

brandaogabriel7 commented 4 years ago

I'm struggling with the same issue. The package on Nuget is not updated.

BenMicucci commented 4 years ago

@brandaogabriel7 I wrote a work around using an Azure Function. Message me on LinkedIn & I'd be happy to share some sample code with you - https://www.linkedin.com/in/benjamin-micucci-3b74385b/

I haven't put on my github yet.

borisfornaris commented 4 years ago

@BenMicucci Hello Friend. I haven't been able to use the OAuth authentication mechanism. Could you send me your Azure function please. I'm going to send a message to you on LinkedIn.

Thank you in advance.

mdunidev commented 3 years ago

Any movement on this? Is there a good workaround?

brandaogabriel7 commented 3 years ago

@mdunidev, try this

BenMicucci commented 3 years ago

@mdunidev, message me on LinkedIn if you have an issues with the code I wrote that @brandaogabriel7 posted above. https://www.linkedin.com/in/benjamin-micucci-3b74385b/

mdunidev commented 3 years ago

Not sure the azure function would work for me.