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
9ddbdbf294
rename OIDC_POST_END_SESSION_HOOK to OIDC_AFTER_END_SESSION_HOOK
2017-03-31 13:00:24 +01:00
Wojciech Bartosiak
30bb06d478
fixed logger message
2017-03-30 21:45:14 +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
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
Niels van Huijstee
7b9f08c46c
Add id_token to response
2016-12-21 15:58:37 +01:00
Niels van Huijstee
39111a8388
Better tests for errors, disable grant type password by default
2016-12-13 13:40:14 +01: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
0633b664a0
Password Grant -Response according to specification
2016-12-07 11:51:24 +01:00
Niels van Huijstee
a58e54d55f
Support grant type password - basics
2016-12-05 10:19:58 +01: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
Brice Gelineau
8666990f69
Fix translations handling
...
Fix a missing _lazy.
Fix locale inclusion in the sdist package.
Fix French locale compiling.
2016-11-24 13:09:19 +01:00
Bono
80441aaf32
Log create_uri_response exceptions to logger.exception
2016-11-18 18:08:37 +01:00
hpool
acc5b408d1
Fix a bug that the value of STANDARD_CLAIMS is updated
2016-11-09 19:31:37 +09:00
Ignacio Fiorentino
53166fb9ea
Fix TypeError Unicode when using hashlib.
2016-11-04 15:56:51 -03:00
Ignacio Fiorentino
59db79b65c
Fix tests for end session endpoint.
2016-11-01 16:01:03 -03:00
Ignacio Fiorentino
e458542be2
Fix urls and names.
2016-11-01 12:15:48 -03:00
Ignacio Fiorentino
5d07111a18
Implementing end_session_endpoint feature with post_logout_redirect_uri.
2016-10-31 17:07:06 -03:00
Ignacio Fiorentino
ecba16ed36
Fix bug with id_token without openid scope.
2016-10-31 16:37:51 -03:00
Ignacio Fiorentino
50e5287b48
Initial Session Management version.
2016-10-28 15:25:52 -03:00
Ignacio Fiorentino
3711d6c5ab
Fallback user claims (email, first_name, etc).
2016-10-26 16:46:14 -03:00
David Montano
99d7194ab1
Make Client available when using OIDC_EXTRA_SCOPE_CLAIMS
...
Now it's passed the Token to the ScopeClaims constructor so that it can make Client avaialble to implementors
2016-10-12 14:23:57 -05:00
Ignacio Fiorentino
2cedde5e3f
Remove spaces.
2016-10-11 13:18:06 -03:00
Ignacio Fiorentino
38e37e7c47
Merge branch 'v0.4.x' of https://github.com/wojtek-fliposports/django-oidc-provider into wojtek-fliposports-v0.4.x
2016-10-11 11:52:31 -03:00
Ignacio Fiorentino
74b5390daa
Merge branch 'redirect_uri_query' of https://github.com/jerrykan/django-oidc-provider into jerrykan-redirect_uri_query
2016-10-05 12:33:05 -03:00
Wojciech Bartosiak
59312bf811
redirect URI clean up moved to utils module
2016-10-04 19:32:54 +02:00
Ignacio Fiorentino
6ed2c200a7
Update pyjwkest to version 1.3.0.
2016-10-03 12:54:54 -03:00
yasserisa
1c3bd7579b
FIX id_token, field iss set to type str
2016-09-21 10:20:03 -03:00
Ignacio Fiorentino
c14d2f055a
Remove Params() object from endpoints classes.
2016-09-09 14:49:41 -03:00
Ignacio Fiorentino
8a63c83514
Refactoring create_id_token function.
2016-09-09 13:10:12 -03:00
Ignacio Fiorentino
5836774f6b
Add user email into id_token. Fix missing OIDC_TOKEN_EXPIRE setting.
2016-09-09 11:43:28 -03:00
Ignacio Fiorentino
f8dbfa5c04
Add Hybrid flow login in view and models.
2016-09-08 16:21:48 -03:00
Florent Jouatte
2872d2e10b
#113 : tiny improvement
2016-08-17 12:24:00 +02:00
Florent Jouatte
2c1d582475
#113 : omit claim when empty
2016-08-17 12:13:33 +02:00
Graham Ullrich
ba4faee6ef
Fix global imports
...
Global imports ("from X import *") are discouraged in Python.
2016-08-11 16:05:13 -06:00
Graham Ullrich
ffddb69f80
Add tests for at_hash
...
Ensure at_hash is present in id_token when warranted.
2016-08-08 11:24:07 -06:00
Brian Rosner
afc3a60ee7
Added at_hash when access token is present
...
This is required by response type "id_token token", but can be
used by other flows if they choose.
2016-08-05 14:00:00 -06:00
Ignacio Fiorentino
dc9ec1863e
Change setting OIDC_USERINFO.
2016-07-07 12:50:27 -03:00
Ignacio Fiorentino
4cc7474c19
Add verbose name and description for scopes.
2016-06-16 17:18:39 -03:00
Ignacio Fiorentino
5255719700
Add date_given to UserConsent model. Add verbose names in models.
2016-06-13 12:15:10 -03:00
Ignacio Fiorentino
eea590e006
Modify scope claims class.
2016-05-30 13:28:07 -03:00
Si Feng
be5656bcf4
Make SITE_URL
optional.
2016-05-25 14:58:58 -07:00
Ignacio Fiorentino
497f2f3a68
Bump version v0.3.3.
2016-05-03 12:17:22 -03:00
Ignacio Fiorentino
9f9df355a3
Merge branch 'v0.3.x' of https://github.com/juanifioren/django-oidc-provider into feature-jwtalg
2016-04-25 14:55:30 -03:00
Ignacio Fiorentino
61f0c209af
Refactoring prompt=none logic.
2016-04-13 17:19:37 -03:00