Commit graph

310 commits

Author SHA1 Message Date
Ignacio 2065c06dab Add tox file. 2015-07-24 15:55:09 -03:00
Ignacio 4a7739ece6 Add tox folder to gitignore. 2015-07-24 15:46:01 -03:00
juanifioren 162416bfae Add missing encode in test. 2015-07-23 16:28:20 -03:00
juanifioren 01bf1ee5e6 In python 3 use "int" instead of "long". 2015-07-23 16:22:42 -03:00
juanifioren 895ca36ab5 Add decode "utf-8" to jwks_uri view. My fault! 2015-07-23 16:17:28 -03:00
juanifioren d17efb7f0c Add encode "utf-8" to jwks_uri view. 2015-07-23 16:13:26 -03:00
juanifioren 0445f737f2 Fix unicode error python3. 2015-07-23 16:07:55 -03:00
juanifioren 9b3ba5652f Add idtoken_sign_validation test. 2015-07-22 18:22:46 -03:00
juanifioren b9806ed102 Remove unnecessary settings rewrite in tests. 2015-07-22 16:25:17 -03:00
juanifioren 0070260069 Fix command for running tests in DOC. 2015-07-22 16:22:14 -03:00
Juan Ignacio Fiorentino fc20e46d81 Update CHANGELOG. 2015-07-21 12:30:20 -03:00
Juan Ignacio Fiorentino cbe0c491aa Merge pull request #37 from ByteInternet/fix-models-setting
Fix for custom user class.
2015-07-21 12:23:52 -03:00
Maarten van Schaik f8366b18f7 Explicitly import the right settings 2015-07-21 15:59:23 +02:00
Maarten van Schaik 77230af4c3 Use models setting instead of User 2015-07-21 15:57:23 +02:00
juanifioren faf7cd7a20 Update version of the package. 2015-07-17 11:58:11 -03:00
juanifioren 115a37e1e9 Update CHANGELOG. 2015-07-17 11:56:39 -03:00
juanifioren 2de1394202 Add id_token_signing_alg_values_supported to discovery endpoint. 2015-07-17 11:52:58 -03:00
juanifioren ec10aea981 Add python folders and templates to setup. 2015-07-17 11:45:43 -03:00
juanifioren 413c1a4671 Update project example README. 2015-07-17 11:37:05 -03:00
juanifioren a08dbdb7d2 Merge branch 'master' of https://github.com/juanifioren/django-oidc-provider into v0.1.0-dev
Conflicts:
	example_project/.gitignore
2015-07-17 11:32:14 -03:00
Juan Ignacio Fiorentino 8ddbf58415 Update Docs. 2015-07-17 11:31:45 -03:00
juanifioren 769ffc992b Edit changelog. 2015-07-16 16:44:23 -03:00
juanifioren 91ae9ba9ff Add one test for request not containing nonce parameter. 2015-07-16 15:58:33 -03:00
juanifioren 882def8124 Fix tests for using nonce parameter. 2015-07-16 15:04:33 -03:00
juanifioren a690a57a03 Fix nonce parameter inside token endpoint. 2015-07-16 14:25:58 -03:00
juanifioren 6dde3a59a8 Add nonce to Code model. Modify create_code function. 2015-07-15 16:23:36 -03:00
juanifioren 0de868941a Modify create_id_token function for supporting nonce. 2015-07-15 16:18:34 -03:00
juanifioren c995da640c Remove _extract_implicit_params function. 2015-07-15 15:17:47 -03:00
juanifioren 6fc6126a62 Add nonce to _extract_params function. 2015-07-15 15:16:51 -03:00
juanifioren e030203f0b Add .pem files to gitignore in example project. 2015-07-15 14:38:49 -03:00
Juan Ignacio Fiorentino 9afdc3704c Merge pull request #32 from Sjord/fix-types
Fix types
2015-07-15 12:04:40 -03:00
Sjoerd Langkemper 0882c5c63b Make the sub a string
In the default sub generator. The spec says "The sub value is a case
sensitive string."
2015-07-15 12:17:21 +02:00
Sjoerd Langkemper 00f30dabbf Convert times to int
Make iat_time, exp_time, auth_time an integer, not a float. The spec
does not explicitly forbit float times, but some clients don't accept
this (mod_auth_openidc), and `timetuple()` has second precision anyway
so we don't loose any information.
2015-07-15 12:06:02 +02:00
juanifioren 80f89889bb Add example key file for tests. 2015-07-14 15:01:32 -03:00
juanifioren 1736d7b7ae Add IOError custom message when rsa key file is missing. 2015-07-14 15:01:01 -03:00
juanifioren 211f942eec Fix imports in tests. 2015-07-14 14:52:48 -03:00
juanifioren 051c29a262 Refactoring tests. 2015-07-14 13:27:46 -03:00
juanifioren 3f7b184306 Edit travis with correct settings path. 2015-07-14 13:27:20 -03:00
juanifioren fa7d64c04b Add OIDC_RSA_KEY_FOLDER to settings. 2015-07-14 13:01:29 -03:00
juanifioren d0d64ace36 Change version to 0.1.0 in setup. 2015-07-14 12:49:48 -03:00
juanifioren f52db34d00 Reorder imports. 2015-07-14 12:44:25 -03:00
Juan Ignacio Fiorentino a971c6b8f9 Fix travis.yml. 2015-07-13 21:37:43 -03:00
juanifioren 5371fbfba9 Merge branch 'master' of https://github.com/juanifioren/django-oidc-provider into v0.1.0-dev
Conflicts:
	oidc_provider/lib/endpoints/authorize.py
2015-07-13 17:47:19 -03:00
juanifioren 82c0e7874e Add jwks endpoint to discovery. 2015-07-13 17:38:38 -03:00
juanifioren fe153f51a6 Correct encode_id_token function. 2015-07-13 17:38:03 -03:00
juanifioren 3498940142 Encode id_toke with using RSA now. 2015-07-13 17:37:13 -03:00
juanifioren f7e8fa460c Create get_rsa_key function to obtain the key from filesystem. 2015-07-13 17:36:15 -03:00
juanifioren 5ba5b1581d Add Jwks url to urls.py. 2015-07-13 17:35:18 -03:00
juanifioren a22fc7c1a1 Add Jwks view to views.py. 2015-07-13 17:34:43 -03:00
juanifioren 485bc3fbf5 Add cryptography to setup requirements. 2015-07-13 17:33:49 -03:00