forked from greyorange-labs/pact_erlang
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Allow adding custom auth token for pact verification"
This reverts commit d75d6ba. Reason: I actually found anther way of replacing the authorization header: - Use `fromProviderState` Matcher function on consumer side for auth header. Match `Bearer ${authToken}`, use JWT regex - On provider side, in state change URL endpoint, generate the token and return it in the callback under `authToken` - The provider-generated auth token will be used in the request. I am leaving this as commit + revert for future reference purposes.
- Loading branch information
Siim Mardus
committed
Jun 5, 2024
1 parent
d75d6ba
commit df5df77
Showing
4 changed files
with
16 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters