Commit graph

772 commits

Author SHA1 Message Date
kaveh
bddbb68614 Replaces LOGIN_URL with OIDC_LOGIN_URL
so users can use a different login path for their oidc requests.
2017-03-31 13:41:26 -07:00
Wojciech Bartosiak
d5111ed881 Merge pull request #162 from wojtek-fliposports/fix_after_login_hook_doc
rename OIDC_POST_END_SESSION_HOOK to OIDC_AFTER_END_SESSION_HOOK
2017-03-31 13:30:55 +01:00
Wojciech Bartosiak
ca98c33a7d added docs for OIDC_AFTER_END_SESSION_HOOK 2017-03-31 13:00:33 +01:00
Wojciech Bartosiak
9ddbdbf294 rename OIDC_POST_END_SESSION_HOOK to OIDC_AFTER_END_SESSION_HOOK 2017-03-31 13:00:24 +01:00
Wojciech Bartosiak
0d578de59c Merge pull request #161 from wojtek-fliposports/test_create_id_token_fix
Improved `exp` value calculation
2017-03-31 07:13:24 +01:00
Wojciech Bartosiak
721342fcb2 Improved exp value calculation 2017-03-30 23:18:21 +01:00
Wojciech Bartosiak
e9de35b919 Merge pull request #160 from wojtek-fliposports/fixing_logger_exception
Fixing logger exception
2017-03-30 22:03:30 +01:00
Wojciech Bartosiak
30bb06d478 fixed logger message 2017-03-30 21:45:14 +01:00
Wojciech Bartosiak
d392a14223 Merge pull request #12 from juanifioren/develop
Develop
2017-03-30 21:36:34 +01:00
Wojciech Bartosiak
a9e90498c3 Merge pull request #159 from wojtek-fliposports/develop
Update CHANGELOG.md
2017-03-28 10:14:35 +01:00
Wojciech Bartosiak
2eca82a5b7 Update CHANGELOG.md 2017-03-28 10:02:29 +01:00
Wojciech Bartosiak
5a4292677b Merge pull request #147 from uhavin/feature-granttype-password
Feature granttype password
2017-03-28 10:02:06 +01:00
Wojciech Bartosiak
af57fd0056 Merge pull request #11 from juanifioren/develop
Develop
2017-03-28 09:50:14 +01:00
Niels van Huijstee
82dee87ebe No need for semicolons, this is Python 2017-03-28 10:38:43 +02:00
Niels van Huijstee
a640358182 Remove print statements 2017-03-28 10:37:31 +02:00
Niels van Huijstee
ed3f9988aa Explicit function naming 2017-03-28 10:37:02 +02:00
Wojciech Bartosiak
9fd2494465 Merge pull request #152 from wojtek-fliposports/feature-end-session-hook
OIDC_POST_END_SESSION_HOOK + tests
2017-03-27 17:40:41 +01:00
Wojciech Bartosiak
9e70b9597e Merge pull request #134 from ByteInternet/switch_debug_to_error_when_server_encounters_error
Log create_uri_response exceptions to logger.exception
2017-03-27 17:37:39 +01:00
Wojciech Bartosiak
7496b2f036 OIDC_POST_END_SESSION_HOOK + tests 2017-01-27 09:27:16 +01:00
Juan Ignacio Fiorentino
b1bf9072d0 Merge pull request #150 from wojtek-fliposports/uri_fragment_fix
Uri fragment fix.
2017-01-25 10:30:46 -03:00
Wojciech Bartosiak
78845a7b9d fix URI fragment
example not working URL `http://localhost:8100/#/auth/callback/`
2017-01-25 11:02:54 +01:00
Juan Ignacio Fiorentino
f53186ddd6 Merge pull request #149 from brianorwhatever/documentation-skip-consent
skipping consent only works for confidential clients
2017-01-06 16:36:41 -03:00
Brian Richter
d9d9bffdd1 skipping consent only works for confidential clients 2017-01-06 11:20:40 -08:00
Niels van Huijstee
7b9f08c46c Add id_token to response 2016-12-21 15:58:37 +01:00
Niels van Huijstee
1a31bc6554 User authentication failure to return 403 2016-12-21 15:58:05 +01:00
Ignacio Fiorentino
d9790ab214 Edit CHANGELOG. 2016-12-13 12:46:45 -03:00
Niels van Huijstee
f7908bb1b9 Add documentation for grant type password 2016-12-13 14:53:46 +01:00
Niels van Huijstee
39111a8388 Better tests for errors, disable grant type password by default 2016-12-13 13:40:14 +01:00
Ignacio Fiorentino
40009944af Merge branch 'develop' of https://github.com/juanifioren/django-oidc-provider into develop 2016-12-12 16:46:30 -03:00
Ignacio Fiorentino
66a3497a1c Fix refresh_token cannot be primary key if null. 2016-12-12 16:46:21 -03:00
Juan Ignacio Fiorentino
c5d0a99b55 Merge pull request #145 from suutari-ai/use-time-time
Use time.time to generate the timestamps.
2016-12-12 14:32:45 -03:00
Juan Ignacio Fiorentino
fc6241d3d0 Merge pull request #144 from uhavin/feature-granttype-password
Feature granttype password
2016-12-12 14:25:10 -03:00
Tuomas Suutari
65538b0f7d utils.token: Use time.time to generate the timestamps
Use `time.time()` rather than `timezone.now()` for generating the unix
timestamps.  This avoids conversion between year-month-day-hh-mm-ss
formatted timestamp vs. unix timestamp and is therefore simpler and more
robust.

Add a test case for this too and amend test_token_endpoint, since it
used to mock timezone.now, but now it needs to mock time.time.
2016-12-07 14:22:20 +02:00
Tuomas Suutari
5e3876f0c6 Revert "Fix timestamps computing in tokens"
This reverts commit 975eb0163f.
2016-12-07 14:22:20 +02:00
Niels van Huijstee
ba62e8eab9 Merge remote-tracking branch 'upstream/feature-granttype-password' into feature-granttype-password 2016-12-07 11:54:12 +01:00
Niels van Huijstee
0633b664a0 Password Grant -Response according to specification 2016-12-07 11:51:24 +01:00
Niels van Huijstee
2e0072cad7 Add tests for Resource Owner Password Credentials Flow 2016-12-07 10:05:33 +01:00
Juan Ignacio Fiorentino
218cc0afed Merge pull request #141 from uhavin/feature-granttype-password
[WIP] Support grant type password - basics
2016-12-05 12:13:40 -03:00
Niels van Huijstee
a58e54d55f Support grant type password - basics 2016-12-05 10:19:58 +01:00
Juan Ignacio Fiorentino
1081511b9a Update README.md 2016-12-02 12:27:08 -03:00
Ignacio Fiorentino
a6fc1a717e Update authorize template in docs. 2016-12-02 12:03:59 -03:00
Ignacio Fiorentino
e1fa322c4f Edit CHANGELOG. 2016-12-01 16:22:19 -03:00
Ignacio Fiorentino
db68977eb2 Provide doc for signals. 2016-12-01 16:20:53 -03:00
Ignacio Fiorentino
5242f0841e Add initial signals logic. 2016-12-01 16:20:34 -03:00
Ignacio Fiorentino
8d77634417 Edit CHANGELOG. 2016-11-30 13:25:06 -03:00
Ignacio Fiorentino
6ebd946649 Merge branch 'v0.4.x' of https://github.com/juanifioren/django-oidc-provider into develop 2016-11-30 13:22:52 -03:00
Juan Ignacio Fiorentino
ae00368a6a Merge pull request #138 from bgelineau/fix_timestamps
Fix timestamps computing in tokens
2016-11-30 11:42:27 -03:00
Brice Gelineau
975eb0163f Fix timestamps computing in tokens
The timestamp of timezone-aware datetimes was offset by the value of their timezone.
2016-11-30 15:23:11 +01:00
Ignacio Fiorentino
10ed8171f0 Bump version v0.4.4. 2016-11-29 17:37:07 -03:00
Juan Ignacio Fiorentino
11ef97fdbb Merge pull request #137 from bgelineau/fix_locale
Fix translations handling.
2016-11-29 17:16:26 -03:00