Skip to content
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

Load the OAuth2 server code #1

Open
steveconners opened this issue Jul 6, 2015 · 4 comments
Open

Load the OAuth2 server code #1

steveconners opened this issue Jul 6, 2015 · 4 comments
Assignees

Comments

@steveconners
Copy link
Member

We'd like to move the server code out of the API repository. For the time being, it is a distinct application.

@slifty
Copy link

slifty commented Jul 9, 2015

@ashaar364 Maybe we can chat on our call tomorrow about the OAuth2 server code that has been written so far to make sure I don't miss anything here!

My understanding is that the OAuth server code is in the Google Oauth sample login source code along with code to handle google and salesforce login.

@ashaar364
Copy link

@slifty No that is not correct. These are two type of code one is client and one is server. Google and Sales force code is the client code. The client code connects to the server and authenticate the user and generate the token. In that case Google and Sales Force have the server and we access them. Where as the server code is Pathway server code, In our server, we maintain all the creation and distribution of the token. Ideally we will be providing all the three login facility. User should be able to access our API, if he holds the google account or sales force account or s/he is already registered with us.

@imlab10
Copy link

imlab10 commented Jul 10, 2015

Ashaar is correct. It should work as what Ashaar described. That's how
OAuth should work.

Thanks
Rodger

On Thu, Jul 9, 2015 at 7:13 PM, Ashaar notifications@github.com wrote:

@slifty https://github.com/slifty No that is not correct. These are two
type of code one is client and one is server. Google and Sales force code
is the client code. The client code connects to the server and authenticate
the user and generate the token. In that case Google and Sales Force have
the server and we access them. Where as the server code is Pathway server
code, In our server, we maintain all the creation and distribution of the
token. Ideally we will be providing all the three login facility. User
should be able to access our API, if he holds the google account or sales
force account or s/he is already registered with us.


Reply to this email directly or view it on GitHub
#1 (comment).

@kfogel
Copy link
Member

kfogel commented Jul 13, 2015

nod Just to confirm: both @slifty and I have read this & it makes sense. Thanks, @ashaar364 and @imlab10 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants