fedora-test-auth


Namefedora-test-auth JSON
Version 0.0.2 PyPI version JSON
download
home_pagehttps://github.com/abompard/test-auth
SummaryA very basic app to test authentication
upload_time2023-05-30 09:17:51
maintainer
docs_urlNone
authorAurélien Bompard
requires_python>=3.6
license
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Test Auth

This is a very basic app to test authentication in the Fedora infrastructure.

## Configuration

You can configure the app using a configuration file, you need to point to this
file with the `TESTAUTH_SETTINGS` environment variable.

In the configuration file you can set:

- `SECRET_KEY`: a unique secret key for signing cookies (see the Flask documentation)
- `OIDC_CLIENT_SECRETS`: the path to the `client_secrets.json` file for OIDC auth
- `OIDC_SCOPES`: the list of OIDC scopes to request from the server
- `OPENID_ENDPOINT`: the URL of the OpenID server endpoint
- `OPENID_ASK_FOR`: the list of attributes to request from the server
- `OPENID_ASK_FOR_OPTIONAL`: the list of attributes to optionaly request

## OIDC

Test the OIDC authentication system using the `/oidc` path. You must have set a client secrets file by doing:

```
$ pip3 install oidc-register
$ oidc-register https://iddev.fedorainfracloud.org/openidc/ http://localhost:5000/oidc
```

Where `https://iddev.fedorainfracloud.org/openidc/` is the URL of the OIDC server endpoint.

## OpenID

Test the OpenID authentication system using the `/openid` path. There is no server-side configuration to do.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/abompard/test-auth",
    "name": "fedora-test-auth",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "",
    "author": "Aur\u00e9lien Bompard",
    "author_email": "abompard@fedoraproject.org",
    "download_url": "https://files.pythonhosted.org/packages/dd/33/a575fa6171d46d1b83bf9f5aa3214c622a7af4292ddc74db70907f2e82f1/fedora-test-auth-0.0.2.tar.gz",
    "platform": null,
    "description": "# Test Auth\n\nThis is a very basic app to test authentication in the Fedora infrastructure.\n\n## Configuration\n\nYou can configure the app using a configuration file, you need to point to this\nfile with the `TESTAUTH_SETTINGS` environment variable.\n\nIn the configuration file you can set:\n\n- `SECRET_KEY`: a unique secret key for signing cookies (see the Flask documentation)\n- `OIDC_CLIENT_SECRETS`: the path to the `client_secrets.json` file for OIDC auth\n- `OIDC_SCOPES`: the list of OIDC scopes to request from the server\n- `OPENID_ENDPOINT`: the URL of the OpenID server endpoint\n- `OPENID_ASK_FOR`: the list of attributes to request from the server\n- `OPENID_ASK_FOR_OPTIONAL`: the list of attributes to optionaly request\n\n## OIDC\n\nTest the OIDC authentication system using the `/oidc` path. You must have set a client secrets file by doing:\n\n```\n$ pip3 install oidc-register\n$ oidc-register https://iddev.fedorainfracloud.org/openidc/ http://localhost:5000/oidc\n```\n\nWhere `https://iddev.fedorainfracloud.org/openidc/` is the URL of the OIDC server endpoint.\n\n## OpenID\n\nTest the OpenID authentication system using the `/openid` path. There is no server-side configuration to do.\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "A very basic app to test authentication",
    "version": "0.0.2",
    "project_urls": {
        "Homepage": "https://github.com/abompard/test-auth"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5ba53442f952160e753a4a92066dfce388b9763ef83b2ee373982c3fc3f73a0f",
                "md5": "fc8f47ec913d58e579332879585096a7",
                "sha256": "205bfef10d868a77e90cbdf791d2ab124bdd027dd8dd74d7ebad0fe4040053df"
            },
            "downloads": -1,
            "filename": "fedora_test_auth-0.0.2-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "fc8f47ec913d58e579332879585096a7",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": ">=3.6",
            "size": 19411,
            "upload_time": "2023-05-30T09:17:48",
            "upload_time_iso_8601": "2023-05-30T09:17:48.976632Z",
            "url": "https://files.pythonhosted.org/packages/5b/a5/3442f952160e753a4a92066dfce388b9763ef83b2ee373982c3fc3f73a0f/fedora_test_auth-0.0.2-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "dd33a575fa6171d46d1b83bf9f5aa3214c622a7af4292ddc74db70907f2e82f1",
                "md5": "b9e05bd57e9de87b18b47edcfdd95319",
                "sha256": "6757a10a3105ab3bf667b37c07d305d54923cec24224373a86019150b782af0d"
            },
            "downloads": -1,
            "filename": "fedora-test-auth-0.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "b9e05bd57e9de87b18b47edcfdd95319",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 18018,
            "upload_time": "2023-05-30T09:17:51",
            "upload_time_iso_8601": "2023-05-30T09:17:51.303246Z",
            "url": "https://files.pythonhosted.org/packages/dd/33/a575fa6171d46d1b83bf9f5aa3214c622a7af4292ddc74db70907f2e82f1/fedora-test-auth-0.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-05-30 09:17:51",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "abompard",
    "github_project": "test-auth",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "fedora-test-auth"
}
        
Elapsed time: 0.08439s