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

how can I separate the OAuth Authorization server and Resource server #128

Open
huangye177 opened this issue Aug 28, 2012 · 0 comments
Open

Comments

@huangye177
Copy link

Dear all,

I am running the oauth-plugin pretty well in my OAuth server.

Here comes up a question. Now my application is doing the authentication (via OpenID) and authorization (via OAuth) for the incoming requests from remote consumer servers, and then also supplies the resource data (json, xml, picture, etc) if the access_token is valid.

I'd like to split the functions, so that my new "auth-application" will only handle user authentication and resource request authorization (request a OAuth access_token). After that, I use a new "resource-application" to response the detailed resource requests (use of the obtained access_token).

Has anyone tried that before, how should I proceed the re-factoring? My current approach is quite similar with the following tutorial:
https://github.com/Gazler/Oauth2-Tutorial

Thanks in advance!

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

1 participant