gseitz / oauth-provider-wai

WAI specific implementation of oauth-provider
BSD 3-Clause "New" or "Revised" License
4 stars 1 forks source link

Update to wai-3 #1

Open begriffs opened 10 years ago

begriffs commented 10 years ago

I cloned oauth-provider-wai and removed the version constraints in its cabal file to see if it would work with wai >= 3, but there are too many things different and it breaks.

For now I'll just use oauth-provider by itself. THANK YOU for writing these by the way. Understanding the oauth spec and writing a provider would be very intimidating for me.

gseitz commented 10 years ago

Wow, I didn't know that anybody has seen this repository, let alone actually use it. This is more like a proof-of-concept and I used it as a project to hone my haskell skills. Please keep in mind that the oauth-provider projects haven't gotten any kind of review and it's possible that there are glaring errors in it, that I just don't see.

I haven't worked on these libraries in a while, but I'll play around with wai 3 a bit.

gseitz commented 9 years ago

@begriffs: I pushed a preliminary port to WAI 3 to a separate branch topic/wai3

begriffs commented 9 years ago

Thank you, looks like the change was quite a bit of work. We'll be switching our app from passwords to oauth in probably the next month or so. I'll let you know how it works.

How do I include this in my project? Do I pull it into a git submodule and use cabal sandbox add-source?

gseitz commented 9 years ago

Wow, now that's intimidating to me. I'm really curious how it works out for you.

I don't have any plans to push the oauth-provider modules to hackage anytime soon. I think what you already suggested will be the most straightforward way for now I'm afraid.

gseitz commented 9 years ago

Hold on, pushed something that depends on a changed oauth-provider, which I haven't pushed yet. Gonna fix it real quick.

gseitz commented 9 years ago

Alright, the branch should now be good to go. Sorry for that.