{"id":21714072,"url":"https://github.com/rstgroup/behat-oauth2-context","last_synced_at":"2025-10-11T06:39:06.138Z","repository":{"id":36345305,"uuid":"40650042","full_name":"rstgroup/behat-oauth2-context","owner":"rstgroup","description":"This library include Behat context with implemented steps and features to test common use case of server with OAuth2","archived":false,"fork":false,"pushed_at":"2018-01-31T09:36:30.000Z","size":17,"stargazers_count":10,"open_issues_count":2,"forks_count":4,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-06-13T14:07:33.071Z","etag":null,"topics":["behat","behat-context","behat-oauth2","behavior-driven-development","oauth2"],"latest_commit_sha":null,"homepage":"http://rst.com.pl/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rstgroup.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-08-13T09:21:12.000Z","updated_at":"2018-02-08T15:15:11.000Z","dependencies_parsed_at":"2022-09-07T17:12:30.088Z","dependency_job_id":null,"html_url":"https://github.com/rstgroup/behat-oauth2-context","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/rstgroup/behat-oauth2-context","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rstgroup%2Fbehat-oauth2-context","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rstgroup%2Fbehat-oauth2-context/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rstgroup%2Fbehat-oauth2-context/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rstgroup%2Fbehat-oauth2-context/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rstgroup","download_url":"https://codeload.github.com/rstgroup/behat-oauth2-context/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rstgroup%2Fbehat-oauth2-context/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279006452,"owners_count":26084107,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["behat","behat-context","behat-oauth2","behavior-driven-development","oauth2"],"created_at":"2024-11-26T00:30:41.101Z","updated_at":"2025-10-11T06:39:06.104Z","avatar_url":"https://github.com/rstgroup.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Behat OAuth2 \n\nThis library include Behat context with implemented steps and features to test common use case of server with OAuth2 ([The OAuth 2.0 Authorization Framework standards](https://tools.ietf.org/html/rfc6749)) \n\n## Requirements\n\nLibrary is only supported on PHP 5.4.0 and up.\n\nFor others requirements please see the [composer.json](composer.json) file.\n\n## Installation\n\n1. Add the following to your `composer.json`,\n \n    ```json\n    \"require\": {\n        \"rstgroup/behat-oauth2-context\": \"^1.0\"\n    },\n    \"repositories\": [\n        {\n            \"type\": \"vcs\",\n            \"url\": \"git@github.com:rstgroup/behat-oauth2-context.git\"\n        }\n    ]\n    ```\n\n2. Run `composer update rstgroup/behat-oauth2-context` to ensure the library is installed.\n\n## Configuration\n\nCopy `behat.yml.dist` file as `behat.yml` to your home project directory or copy contents from this file to your yml file with Behat tests.\nYou must replace sample content to right option:\n```php\n    paths:\n        - %paths.base%/features\n```\nto right current path\nfor example:\n```php\n    paths:\n        - %paths.base%/vendor/rstgroup/behat-oauth2-context/features/\n```\nAnd next you must replace parameters option:\n- `token_url` - your url to token\n- `oauth2` - your data for OAuth2 authorization\n\n### Recommended and optional parameters\n\nIn configuration we added two parameters recommended and optional. Their options are exists in OAuth2 RFC.\nYou can change their values to false if you know that your server doesn't send someone.\n\n## Run Tests\n\nFor run tests you must use Behat. You can read about it in [Behat documentation](http://behat.readthedocs.org/en/v3.0/).\nSample run:\n```\nvendor/bin/behat --config behat.yml\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frstgroup%2Fbehat-oauth2-context","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frstgroup%2Fbehat-oauth2-context","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frstgroup%2Fbehat-oauth2-context/lists"}