Commit Graph

125 Commits

Author SHA1 Message Date
Roland Hedberg 2b70a2a9f8 Fixed test errors. 2015-01-10 14:15:18 +01:00
Roland Hedberg c2ef2eecb3 Make sure I have the necessary keys available.
Added some tests.
2015-01-10 13:28:24 +01:00
Roland Hedberg 7645ac70fd More error info 2014-12-28 16:51:35 +01:00
Roland Hedberg abd5006a8b Fixed test error 2014-12-16 11:56:10 +01:00
Roland Hedberg 9d0e48b74a Removed unnecessary imports. 2014-12-16 11:12:49 +01:00
Roland Hedberg 68908be4f5 Merge branch 'ci_testing' of https://github.com/maennel/pyoidc into maennel-ci_testing
Conflicts:
	.travis.yml
	README.rst
	setup.py
	src/oic/oic/message.py
	src/oic/oic/provider.py
	src/oic/utils/authn/user.py
	tests/test_oic_provider.py
2014-12-15 21:28:57 +01:00
Roland Hedberg 59cb4481e5 Allow extra claims to be added to the idtoken by Rebecka Gulliksson. 2014-12-15 16:20:44 +01:00
Roland Hedberg ec3af7261d Added a test for signed userinfo 2014-12-15 09:52:14 +01:00
Roland Hedberg bce5e69b4e Added a new method which allows me to find a issuer given an endpoint and the endpoint url. 2014-12-15 08:45:03 +01:00
Roland Hedberg a0a1d5a756 Changed how the string representation of a message is done. 2014-12-12 09:38:10 +01:00
Manuel Jeckelmann 6ea907a813 Adapted some other tests to compare unordered sets instead of ordered strings 2014-11-24 23:40:54 +01:00
Manuel Jeckelmann 492e8c8193 Adapted tests to focus on content rather than on sort order 2014-11-24 23:18:29 +01:00
Roland Hedberg 1f3a5c795e Fixed tests 2014-11-24 10:48:53 +01:00
Roland Hedberg 86cc495567 Fixes as consequence of changes in pyjwkest.
Added .travis.yml file
2014-11-13 22:46:14 +01:00
Roland Hedberg 477a52a6f2 It is no longer allowed for clients to register redirect_uri http urls if response_types are not == ["code"] 2014-11-13 09:53:33 +01:00
Roland Hedberg 1306a7ecde Added support for rotating keys. 2014-11-12 15:12:47 +01:00
Tomas Pazderka 6f77a06fba Fixed non-reliable creation of path to test files. 2014-11-12 10:40:53 +01:00
Manuel Jeckelmann 4ad76e1933 Adapted example's name in order for the test to find the correct templates 2014-11-04 16:23:15 +01:00
Tomas Pazderka 97398b2600 Changed tests to include full paths to keys and other files.
Previously, the result of test was dependent on the current directory.
2014-10-17 11:12:39 +02:00
Roland Hedberg b0f057d1ea Merge branch 'master' of github.com:rohe/pyoidc
Conflicts:
	src/oic/oic/provider.py
2014-10-15 11:24:35 +03:00
Tomas Pazderka cb78d65f1c Fixed tests
Removed unused numbers.py from tests directory - it is shadowing system
numbers lib and causing some imports to fail.
Changed rsa certificate in tests to the one located in tests directory -
tests shouldn't be dependend on cert that is missing and user has to
create one.
2014-10-13 11:47:43 +02:00
Roland Hedberg 7eab377633 Fixed tests. 2014-10-11 13:46:36 +02:00
Roland Hedberg 370972f114 Minor tweaks. 2014-10-01 11:37:06 +02:00
Roland Hedberg 3ee7ad522d Fixed the unit tests. 2014-06-20 13:08:32 +02:00
Roland Hedberg 360ae963e7 Merge pull request #18 from dajiaji/topic-oidc-example-rp-basic-auth
Update rp3 to support client_secret_basic.
2014-06-03 09:54:19 +02:00
Roland Hedberg 4955579106 Added test for encryption/decryption using symmetric key based on client_secret. 2014-05-26 20:45:01 +02:00
Roland Hedberg 7ed57180fc If 'use' is not defined for a key it should be regarded as usable for both encryption and signing. 2014-05-26 11:24:10 +02:00
Roland Hedberg 4dd21e54c5 Added support for form_post response_message. 2014-05-20 11:57:11 +01:00
Daisuke Yamada 3d3a58a42d Merge remote-tracking branch 'upstream/master' into topic-oidc-example-rp-basic-auth 2014-05-15 06:33:37 +09:00
Roland Hedberg 451cdf94aa Changes in directory structure not represented in lots of files. Fixed that.
Also Cherrypy seems to be eating URL fragments so a RP based on Cherrypy can't handle return_type other then 'code'.
2014-05-13 19:48:40 +02:00
Daisuke Yamada 9266e849db Update test to conform the change of ClientSecretBasic::construct. 2014-05-06 18:02:09 +09:00
Roland Hedberg e228c4a3bd Removed debug files. 2014-04-24 13:32:19 +02:00
Roland Hedberg 3f49288a88 Fixed tests 2014-04-23 21:31:24 +02:00
Roland Hedberg 63e20151f9 Fixed method name screw-up. 2014-01-22 14:49:46 +01:00
Roland Hedberg f0d0d8b26b Making a server stateless. 2013-12-17 14:13:56 +01:00
Roland Hedberg a261aa77a8 Replaced M2Crypto with PyCrypto 2013-12-02 14:42:36 +01:00
Roland Hedberg 5230f9448b Removed unused import 2013-11-12 11:09:01 -08:00
Roland Hedberg a495c77a6b Made all the tests run OK 2013-09-23 12:08:42 +02:00
Roland Hedberg 1bea58bd8a Added AuthnBroker class and tests for it. 2013-09-20 08:59:52 +02:00
Roland Hedberg ef0602246e Removed unused method arguments. 2013-09-13 20:37:38 +02:00
Roland Hedberg 66646627f9 Fixed a bug in the webfinger code 2013-09-12 09:09:40 +02:00
Roland Hedberg 5d4141bb65 Support for picking keys based on the kid parameter. 2013-07-09 15:43:57 -07:00
Roland Hedberg 69e5fd5fb5 Updated webfinger module 2013-07-04 10:51:38 +02:00
Roland Hedberg 60d967e967 Missing file, faulty import. 2013-06-13 09:26:04 +02:00
Roland Hedberg 0a5da22e56 Algorithm name is "RSA" not "rsa". 2013-06-12 09:59:52 +02:00
Roland Hedberg 46f34ef1bf New error 2013-06-12 09:59:34 +02:00
Roland Hedberg dd35f241eb auth_type -> auth_method name change 2013-06-12 07:40:59 +02:00
Roland Hedberg b60805092c Updated to work with the new JWx implementation 2013-06-04 13:50:29 +02:00
Roland Hedberg 27005997a6 Changed claims format 2013-05-28 16:02:12 +02:00
Roland Hedberg b9ca331a69 Changed expires_at -> client_secret_expires_at and issued_at/issued -> client_id_issued_at. 2013-05-24 08:43:24 +02:00