-
Notifications
You must be signed in to change notification settings - Fork 41
Add JWT authentication support #140
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
base: main
Are you sure you want to change the base?
Conversation
This allows usages like:
|
The reason we need to have that "toggle" for JWT in the scenario is that we have JWT and Basic Auth and Cookie authentication options. We can't just brute force everything via a configured guzzle client to use JWT. |
There seems to be failures in your fork: https://github.com/pwolanin/behat-api-extension/actions/runs/13721448790 |
https://github.com/pwolanin/behat-api-extension/actions/runs/13728341590 tests are now passing |
By using this extension we no longer have to ignore an error related to the service container.
I just pushed a minor change to this branch, installing the Symfony extension for PHPStan instead of ignoring an error. Would you be able to provide some tests that showcase the feature added in this branch? Perhaps adding a scenario in the |
Yes, we will have to look at the test setup - it needs a secret for the JWT in the behat.yml file |
This is a rebase of main...pwolanin:behat-api-extension:jwt-auth