sprintly / sprintly-kanban

A Kanban Board for Sprintly
https://kanban.sprint.ly
ISC License
493 stars 81 forks source link

Oauth CLIENT_ID and CLIENT_SECRET #84

Closed rnjailamba closed 8 years ago

rnjailamba commented 8 years ago

I get this error when i do 'node server' - child "clientId" fails because ["clientId" is not allowed to be empty] So i decided to mail sprintly to give oauth credentials to me. But i got this reply

Hi Rnjai,

We currently aren't able to support local development of Kanban. We're sunsetting the feature, so this probably won't happen.

Betty Bair

Is there any workaround to this issue??

nicholasserra commented 8 years ago

No, sorry. As we work on our new kanban feature, this code has become more of a reference. Thank you for the interest though :)

rnjailamba commented 8 years ago

@nicholasserra I understand that your company doesnt have the time/ resource to spend on this project. But since the company had decided to open source it, developers who would like to experiment with this project must be told how to use it if they face a problem.

rnjailamba commented 8 years ago

@nicholasserra It is just a one time effort in my opinion to just give a workaround for this issue so that developers can just look at the working of this application.

nicholasserra commented 8 years ago

The issue is that there is no workaround. The kanban code is requiring that you provide sprintly oauth client keys that we are not set up to give out. So the repository, as it sits, is just an example application for reference.

rnjailamba commented 8 years ago

@nicholasserra there must be some code within this application that needs the oauth keys. I am asking if we can somehow suppress that so that people without oauth keys can use this open source project on their local machines.This will help tonnes of people and will make my day.

rnjailamba commented 8 years ago

Throw back to this blog post -

https://sprint.ly/blog/kanban-open-source/

Our hope is that others in the React community will be able to learn from some of the problems we’ve solved. There’s a benefit for us as well! We’ll get help from the React community when they contribute bug fixes or features to our code.

rnjailamba commented 8 years ago

Bump @nicholasserra

nicholasserra commented 8 years ago

You are free to modify this code to suppress the necessity of the oauth keys.

rnjailamba commented 8 years ago

Thanks i got that working somehow. Could you please help out by telling what how to get API running on https://local.sprint.ly:9000/ ?

nicholasserra commented 8 years ago

That comment is for sprintly developers. This is an oauth application that is meant to connect to the sprintly production server to pull data from the API. Since we are not allowing new oauth applications, as stated, it isn't possible to connect to the API. That's why this is now just example code.

rnjailamba commented 8 years ago

Oh fine , got it ! I was asking because the page ( localhost:3600) required calls to https://local.sprint.ly:9000/api/user/whoami.json and https://local.sprint.ly:9000/api/products.json

rnjailamba commented 8 years ago

Ended up using angular and have got things working. FTW