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 pass customer headers to CustomTargetSystemRestClient #212

Open
TieyanFu opened this issue May 22, 2023 · 0 comments · May be fixed by #213
Open

How to pass customer headers to CustomTargetSystemRestClient #212

TieyanFu opened this issue May 22, 2023 · 0 comments · May be fixed by #213

Comments

@TieyanFu
Copy link

TieyanFu commented May 22, 2023

For tests using SCIMRequest.java as client, we are passing in JWT authentication headers via custom.headers="'Authorization:Bearer $JWT' as outlined here, and everything works.

Now we are trying to enable test testCreateUserWithMissingExtensionSchemaInSchemasAttribute400 which uses CustomTargetSystemRestClient as client, and it seems it does not take the custom.headers but requires oauth.clientId; oauth.secret; oauth.service.url and oauth.grant=client_credentials.

Is there way to provide custom.headers for CustomTargetSystemRestClient as well?

@TieyanFu TieyanFu linked a pull request May 22, 2023 that will close this issue
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 a pull request may close this issue.

1 participant