Change in Authentication/Oauth support in C# library

Highlighted
Occasional Contributor

Change in Authentication/Oauth support in C# library

Hi,

 

I took the latest of the C# library for ConstactContatUtlity from github and tried to use AuthenticationData which requieres below input

-Api key

-Account user name

-Password

 

Earlier I was using another version on the C# Library for ConstactContatUtlity for which AuthenticationData required only

-Account user name

-Token (Auth Token)

 

But I need to work with the token instead of the password, how do I establish that?

 

Thanks,
Nabeel

7 REPLIES 7
Highlighted
CTCT Employee

Re: Change in Authentication/Oauth support in C# library

Hi,

 

Do you remember when and where you downloaded the other version of the .NET wrapper that was taking just username and access token?

 

Best Regards,

Shannon W.

API Support Specialist

Highlighted
Occasional Contributor

Re: Change in Authentication/Oauth support in C# library

Hi Shannon,

 

We got that from Dave Berard.

 

Thanks,

Nabeel

Highlighted
CTCT Employee

Re: Change in Authentication/Oauth support in C# library

Hi Nabeel,

 

I am going to ask Dave if he still has that file.  I will get back to you with an update later today.

 

Best Regards,

Shannon W.

API Support Specialist

Highlighted
Moderator

Re: Change in Authentication/Oauth support in C# library

The version you're using Nabeel was a custom development branch of our library I did for a partner.  I hadn't merged the update back into our Github repo to update the library.  I provided Shannon with the updated code.  She's going to run it through tests to confirm everything is still backwards compatible for Basic Authentication and then merge the code back into the repo.  Very sorry about this, the merge completely slipped my mind and now the code is a little out of date with the repo and needs to be added to the most current version. 

Dave Berard
Senior Product Manager, Constant Contact
Highlighted
CTCT Employee

Re: Change in Authentication/Oauth support in C# library

HI Nabeel,

 

I just wanted to let you know that I haven't forgotten about you.  I am in the process of changing a few inconsistencies that are throwing errors in the wrapper. so that it fully works for OAuth 2 when I give it to you.

 

Best Regards,

Shannon W.

API Support Specialist

Highlighted
CTCT Employee

Re: Change in Authentication/Oauth support in C# library

Hi Nabeel,

 

I finished testing and modifying the wrapper for OAuth2 support, and it should now natively support both basic and OAuth2.  I hosted the OAuth2 .NET updated wrapper in my Github repo.  Please let me know if you run into any problems using it.

 

Best Regards,

Shannon W.

API Support Specialist

Highlighted
Occasional Contributor

Re: Change in Authentication/Oauth support in C# library

Thank you Shannon & Dave.

I will take the latest and let you know if I face any issues.

 

Thanks,

Nabeel

 

Developer Portal

View API documentation, code samples, get your API key.

Visit Page

Constant Contact Would Like To Hear From You!

We want to hear from customers like you about your favorite features and how they have helped your business or organization. Tell us by answering a few questions in...

Read More
Featured