Commit Graph

822 Commits

Author SHA1 Message Date
Serghei Mihai a5e11c247f http basic authentication while retreiving the jwt 2015-02-18 10:20:59 +01:00
Serghei Mihai 14b9aa7fa9 store the JWT token in current object if available 2015-02-10 10:08:19 +01:00
Serghei Mihai 905ae5234f basic HTTP authentication used to request the server 2015-02-10 10:07:20 +01:00
Serghei Mihai dc12665fbb storing retreived access_token in current client object 2015-02-10 10:04:36 +01:00
Serghei Mihai be4cb35915 using directly requests to retreive user information 2015-02-10 10:03:55 +01:00
Roland Hedberg 2b70a2a9f8 Fixed test errors. 2015-01-10 14:15:18 +01:00
Roland Hedberg 0ebd155d55 Merge branch 'master' of github.com:rohe/pyoidc 2015-01-10 13:28:48 +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 8493602411 Exception needs message string. 2015-01-10 10:15:40 +01:00
Roland Hedberg 3a5d8d4222 Make all exceptions thrown by pyoidc code have a common ancestor.
Also, a missing key for verifying a signature is not the same thing as a faulty signature.
2015-01-10 10:10:12 +01:00
Roland Hedberg 05cf7d1b61 Merge pull request #55 from nesiax/patch-1
Update setup.py
2014-12-29 16:45:20 +01:00
Nestor Diaz 44382e1241 Update setup.py
Call python interpreter from the environment, useful when using a newly one created from a virtualenv.
2014-12-29 08:45:48 -05:00
Roland Hedberg 35229fead4 Make all exceptions thrown by pyoidc code have a common ancestor. 2014-12-28 16:56:04 +01:00
Roland Hedberg 75a5293e5a Allow starting a server with less then possible capabilities. 2014-12-28 16:53:49 +01:00
Roland Hedberg 7645ac70fd More error info 2014-12-28 16:51:35 +01:00
Roland Hedberg a40240a7f5 Only one OP per Client instance. 2014-12-17 10:24:26 +01:00
Roland Hedberg 7e095f658b Fixed RP3 errors 2014-12-16 14:23:34 +01:00
Roland Hedberg 4d5d75d776 Split config.py.example into two files onevery simple and one slightly more complex. 2014-12-16 13:15:57 +01:00
Roland Hedberg 1b2b0cce62 Hopefully more informative text. 2014-12-16 13:12:12 +01:00
Roland Hedberg 342d88e8d9 Better to used store_registration_info. 2014-12-16 13:08:38 +01:00
Roland Hedberg a059ea050e Bring in LDAP 2014-12-16 12:05:33 +01:00
Roland Hedberg 07db0b507b Bring in LDAP 2014-12-16 12:01:36 +01:00
Roland Hedberg abd5006a8b Fixed test error 2014-12-16 11:56:10 +01:00
Roland Hedberg 7bf28d71db For some reason these changes didn't make it through. 2014-12-16 11:30:40 +01:00
Roland Hedberg b4d82db3a1 When the authorization request is faulty in some way return a error response. Code flow or implicit depending on response_type. If the error has something to do with the return_uri return the response to the user not the RP. 2014-12-16 11:23:40 +01:00
Roland Hedberg 6ee5fb368c Merge branch 'maennel-ci_testing' 2014-12-16 11:16:46 +01:00
Roland Hedberg f25dc0ec1d Minor changes 2014-12-16 11:14:44 +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 863b4a35e3 Use the newly added method. 2014-12-15 08:47:11 +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 d5309ac514 Updated documentation. 2014-12-15 08:32:43 +01:00
Roland Hedberg ad397331f7 Fixed document such that it builds. 2014-12-13 19:18:05 +01:00
Roland Hedberg 7eeaabeb0e Use the OP key when verifying signature on a received JWT. 2014-12-13 15:21:58 +01:00
Roland Hedberg b44f84eaab Updated RP documentation. 2014-12-13 15:20:53 +01:00
Roland Hedberg 645b57e193 Merge pull request #53 from teh/master
Minor cleanups of dependencies and encoding for python2.7
2014-12-12 19:59:00 +01:00
Tom Hunger 77df9ea28d Remove unnecessary dependencies.
cherrypy is only used for the example so keeping it in the development
mode should be fine.

argparse and importlib are shipped with python2.7+
2014-12-12 17:39:58 +00:00
Tom Hunger 03222f2c2b Set encoding of message.py to utf8.
The file contains an integral sign which breaks compilation on python2.7+
when no encoding is set.
2014-12-12 17:36:52 +00:00
Roland Hedberg b1ebfd3f41 Path may not be specified in kwargs in verify method of UsernamePasswordMako. 2014-12-12 09:40:14 +01:00
Roland Hedberg 263d5f9302 Fixed bug in claims_match method 2014-12-12 09:39:10 +01:00
Roland Hedberg a0a1d5a756 Changed how the string representation of a message is done. 2014-12-12 09:38:10 +01:00
Roland Hedberg 07f1fde2c2 401 among reasonable error codes. 2014-12-09 14:14:46 +01:00
Roland Hedberg ad5eb40dc6 A couple of spelling errors in text.
Allow for 'none' algorithm for signing IDToken.
2014-12-09 10:39:37 +01:00
Roland Hedberg 7bf839168b Updated the client_manager script and added new arguments for dumping/loading from file. 2014-11-28 11:50:03 +01:00
Roland Hedberg 1f932e0b45 Made the provider sync the client DB to disc everytime a new client is registered. 2014-11-28 11:49:09 +01:00
Roland Hedberg 175caff64d Bumped the version number to distinguish it from the 06.0 release. 2014-11-27 18:00:18 +01:00
Roland Hedberg 19573f36b7 If a JWKS is imported from somewhere on the net keep the original data for later reference. 2014-11-27 17:53:18 +01:00
Roland Hedberg 02cbbfa2fe PEP-8 2014-11-27 17:51:48 +01:00