-
Notifications
You must be signed in to change notification settings - Fork 52
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
oauth2 security, clientCredentials flow #783
Comments
I could use the oauth2 token using the is it possible to provide the env variable/placeholder in the specmatic.json
|
@kiranpatel11 thanks for the suggestion. We'll discuss this idea internally and get back. |
To address the broader range of usecases, It would be great if you can make it configurable
|
Please let me know if this issue is going to get prioritized in near future ? |
@kiranpatel11 apologies for the radio silence on this. You point about being able to make the token configurable makes sense. We now have ability to pass the bearer token, API keys, etc. for each type of security scheme through environment variables. Here is the documentation. Hope this helps. About using tokenURL to get the real token, we will get back to you on this. Thanks. |
We are trying to use specmatic to test against the API secured by oAuth2, clientCredentials flow, and it is running against the production like environment.
Since the application is running in a production like environment, we don't have an option to set it up with the mock security configuration for the purpose of the Contract Testing.
Questions :
The text was updated successfully, but these errors were encountered: