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

integration test example for resource server #23

Open
zxkane opened this issue Jun 16, 2015 · 0 comments
Open

integration test example for resource server #23

zxkane opened this issue Jun 16, 2015 · 0 comments

Comments

@zxkane
Copy link

zxkane commented Jun 16, 2015

There are some test cases of resource server to test the anonymous access denied when accessing the resource.

But there is no test case to demonstrate how accessing the resource server with proper or mocking authentication.

I tried it. But the resource server always talks to backend oauth2 server to verify the bearer token. Is there any way to mock the verify process? Could you add a test case to cover it?

@zxkane zxkane changed the title integration test example for resource server that is using spring cloud oauth2 integration test example for resource server Jun 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants