You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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
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?
The text was updated successfully, but these errors were encountered: