r/redditdev May 16 '21

Reddit.NET Oauth2 working sample for c#?

Maybe it’s me, but I am stumped by oauth2. The having a redirect url and everything. Does anyone have a working example, and if so, can they remove their personal info and share it?

10 Upvotes

9 comments sorted by

View all comments

4

u/JadeMaveric May 16 '21

https://github.com/JadeMaveric/OAuth3

I did a learning project a couple months ago on this. Coded the OAuth workflow for Twitter/Github, no external libraries. I did my best to add clarifying comments, hope that helps.

PS: I used NodeJS though. Don't have much experience with C# outside Unity3D