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-to: Test your authorization server #552

Closed
colin-riddell opened this issue Dec 23, 2021 · 3 comments
Closed

How-to: Test your authorization server #552

colin-riddell opened this issue Dec 23, 2021 · 3 comments
Assignees
Labels
status: duplicate A duplicate of another issue

Comments

@colin-riddell
Copy link

colin-riddell commented Dec 23, 2021

What's the best way to test that my implementation of authorization server works for my needs

  • Integration testing the authorization server locally using e.g. JUnit. It is possible to write a test with mockMvc calls
  • Selenium/Cypress/SoapUI/Postman etc?
  • OAuth 2.x conformance suite? Does such a thing exist? Is it proprietary?

Ref: #499

@colin-riddell colin-riddell added the type: enhancement A general enhancement label Dec 23, 2021
@colin-riddell colin-riddell changed the title How-to: Test your OAuth2.0 authorization server How-to: Test your authorization server Dec 23, 2021
@sjohnr
Copy link
Member

sjohnr commented Dec 23, 2021

Hi @colin-riddell, thanks for the suggestion! Just for clarity for others, could you update the issue and say just a bit more about your suggestion? For example, you may be suggesting a guide for:

  1. Integration testing the authorization server locally using e.g. JUnit
  2. Building a test suite for end-to-end OAuth flows using an automated testing tool e.g. Selenium/SoapUI/Postman/etc.
  3. Other?

@jgrandja
Copy link
Collaborator

jgrandja commented Jan 5, 2022

Related gh-258

@jgrandja
Copy link
Collaborator

@colin-riddell

Integration testing the authorization server locally using e.g. JUnit. It is possible to write a test with mockMvc calls

Please see the JUnit integration tests that make use of MockMvc.

We're also considering adding integration test support via gh-258.

I'm going to close this as a duplicate of gh-258.

@jgrandja jgrandja self-assigned this Dec 21, 2022
@jgrandja jgrandja added status: duplicate A duplicate of another issue and removed type: enhancement A general enhancement labels Dec 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: duplicate A duplicate of another issue
Projects
None yet
Development

No branches or pull requests

3 participants