{"repo":"pytest-dev/pytest-iam","free":true,"listed":false,"github":"https://github.com/pytest-dev/pytest-iam","clone":"git clone https://github.com/pytest-dev/pytest-iam.git","description":"A lightweight and fully functional OAuth2 / OpenID Connect (OIDC) / SCIM server to be used in test suites.","language":"Python","stars":17,"topics":["iam","identity","identity-management","oauth","oauth2","oidc","openid","pytest","pytest-plugin","unit-tests"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"pytest-iam ========== pytest-iam spawns a lightweight OAuth2 / OpenID Server (OIDC) / SCIM in a thread to be used in your test suite. The machinery involves Canaille and Authlib. - Repository - Package - Documentation Installation ------------ Usage ----- pytest-iam provides tools to test your application authentication mechanism against a OAuth2/OIDC server, with SCIM support: - It launches a Canaille instance on a random port; - It provides a iam server fixture that comes with several features: - the URL of the IAM server to configure your application - IAM models (Users, groups, clients, tokens etc.) to prepare your tests and check the side effects. More details on the reference - utilities to log-in users and give their consent to your application - utilities to generate random users and groups To run a full authentication process for a client application in your test, you can write something like this: Check the client application or resource server tutorials for more usecases.","default_branch":null,"files":null,"tree":[],"storefront":"/r/pytest-dev","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/pytest-dev/pytest-iam/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}