-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
define how to gain access to real openwhyd data from the react app? #5
Comments
oAuth sounds like a good idea. |
Thanks for sharing your recommendation, @mauricesvay! Have you ever added oAuth to a back-end server? Or do you know anyone who would be willing to help us doing this? For reference, this issue is connected to openwhyd/openwhyd#55 |
Also, I'm guessing that using oAuth means that we need to modify the code of all our existing API endpoints, so that they accept tokens additionally to cookies. 😰 I'd be really interested in reading about auth solutions (or patterns) that would have a minimal impact on the code of existing API endpoints. |
I'm sorry, but I don't have much experience on the backend. I've only implemented oAuth2 clients. |
Yes, I can imagine a proxy bound to Not a perfect solution, but would prevent causing bugs on openwhyd.org, while enabling and experimenting OAuth quickly, imo. |
A proxy solution sounds better. I'll tinker that this afternoon i think :) |
@SkinyMonkey I believe that you have a working node.js client for Openwhyd's current back-end. Would you mind sharing a URL to its code here? |
Reminder: until we setup something like OAuth, it's still possible to fetch playlists from any domain, using our public JSON API. |
Also, see openwhyd/openwhyd#194 for more info about using react to build a mobile app, or responsive web app. |
possibilities:
The text was updated successfully, but these errors were encountered: