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 theclient_secrets.jsonfile for OIDC authOIDC_SCOPES: the list of OIDC scopes to request from the serverOPENID_ENDPOINT: the URL of the OpenID server endpointOPENID_ASK_FOR: the list of attributes to request from the serverOPENID_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.
Metadata
Release files for fedora-test-auth 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fedora-test-auth-0.0.2.tar.gz | 18.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fedora_test_auth-0.0.2-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 37.4 kB
Release files / fedora-test-auth-0.0.2.tar.gz
| Download URL | fedora-test-auth-0.0.2.tar.gz |
|---|---|
| Size | 18.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6757a10a3105ab3bf667b37c07d305d54923cec24224373a86019150b782af0d
|
|
BLAKE2b-256 checksum How to use checksums |
dd33a575fa6171d46d1b83bf9f5aa3214c622a7af4292ddc74db70907f2e82f1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.3
|
Release files / fedora_test_auth-0.0.2-py2.py3-none-any.whl
| Download URL | fedora_test_auth-0.0.2-py2.py3-none-any.whl |
|---|---|
| Size | 19.4 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
205bfef10d868a77e90cbdf791d2ab124bdd027dd8dd74d7ebad0fe4040053df
|
|
BLAKE2b-256 checksum How to use checksums |
5ba53442f952160e753a4a92066dfce388b9763ef83b2ee373982c3fc3f73a0f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.3
|