Oauth1 libraries for .net core 8, Do they exist?
# help-with-other
c
Hey all! Been asked to scope out connecting a site to an API that uses OAuth1 (One legged) authentication headers. However, trying out a few of the old "tried and tested" packages from days of old has shown that most arent actually up to scratch for .net core 8, typically old dependencies or vaulted repos that cant be accessed anymore. Anyone know of any nice Oauth1 packages out there to simplify the process? Dont really fancy creating my own serialization / deserialization handler for it, but if I must, I must 😅
a
My Skybrud.Essentials.Http package handles OAuth 1.0a: https://packages.limbo.works/skybrud.essentials.http/docs/oauth/#oauth-1.0a
c
Godsend, thank you Anders!
a
Most services have moved on from OAuth 1.0a (which is a shame, because I really like it, and still see as better than 2.0 in many cases). But TwentyThree for one still use OAuth 1.0a. You can see my Skybrud.Social.TwnetyThree package for how I'm using their API: https://github.com/abjerner/Skybrud.Social.TwentyThree/blob/v1/main/src/Skybrud.Social.TwentyThree/OAuth/TwentyThreeOAuthClient.cs
c
Greatly appreciated! Yeah one of the big email distribution providers in the Netherlands (Spotler) still uses OAuth 1a. Used to have a really nice wrapper as well on it called Mailplus.Net but thats long since been abandonded, Will take a look at the package, should greatly help in this endeavour!
48 Views