I would like to create a web service (RESTful JSON API), and I would like to protect my API with OAuth 1.0 or 2.0. I use Play2 with Scala, and I cannot find examples of writing OAuth providers (not consumers) in Scala and in Play2.
I think the combination should be very familiar, suppose you are creating an API such as GitHub and you want to allow certain applications and offer them CONSUMER_KEY, CONSUMER_SECRET to access your APIs. For this you need an easy-to-use library. Not to say that you need to bake it in Play2.
Any ideas? libraries? tricks?
source share