oauthinaction / oauth-in-action-code

Source code for OAuth 2 in Action
https://www.manning.com/books/oauth-2-in-action
Other
715 stars 536 forks source link

Additional implementations of examples #52

Open danascheider opened 2 years ago

danascheider commented 2 years ago

Hello and thank you so much for your very helpful book and useful examples!

I'm trying to learn about OAuth to use in a split-stack Ruby on Rails/React client application (i.e., front and back end deployed separately). In order to further my learning, I'm re-implementing your exercises in Rails and React. (Auth servers and protected resources are Rails monoliths and clients have a separate front and back end.)

I was going to push my work to a private repo so as to avoid stepping on your toes or creating copyright issues, but it occurred to me that maybe you/your readers would find it valuable to have these examples available publicly, especially since having a fully separate front and back end for the client application is a really common pattern that does introduce additional complexity.

Maybe you don't care but I just wanted to check if you/your publisher would prefer this stuff be private or if your readers might find it valuable.

jricher commented 2 years ago

All the code here is open source (apache license), and re-implementing it is not likely to ruffle any feathers because it's a re-implementation on a different platform. I say not only go for it, but feel free to point people to it. The examples in the book will remain in Node, though.