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 tests] Pre issue access token with client credentials grant type #21033

Merged
merged 5 commits into from
Sep 5, 2024

Conversation

Shenali-SJ
Copy link
Contributor

Description

This adds integration tests for the pre issue access token action execution flow with the client credentials grant type.
This covers the test cases for the following scenarios.

  • Add, replace, remove custom scopes
  • Add, replace, remove aud claim
  • Add custom claims - (data types supported: string, number, boolean, string array)
  • Replace expires_in claim

A mock server has been set up using Wiremock to simulate the external service. The mock server runs locally on the port 8587.

Related Issue

@jenkins-is-staging
Copy link
Contributor

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/10679125271

@jenkins-is-staging
Copy link
Contributor

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/10679125271
Status: failure

@jenkins-is-staging
Copy link
Contributor

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/10680540965

@jenkins-is-staging
Copy link
Contributor

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/10680540965
Status: failure

@jenkins-is-staging
Copy link
Contributor

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/10702170949

@jenkins-is-staging
Copy link
Contributor

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/10702170949
Status: success

Copy link
Contributor

@jenkins-is-staging jenkins-is-staging left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving the pull request based on the successful pr build https://github.com/wso2/product-is/actions/runs/10702170949

@malithie malithie merged commit ad8ca5c into wso2:master Sep 5, 2024
1 check passed
@Shenali-SJ Shenali-SJ changed the title Add integration tests for pre issue access token client credentials grant type [integration tests] Pre issue access token with client credentials grant type Sep 5, 2024
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

Successfully merging this pull request may close these issues.

4 participants