Andy Clayton
36018d19ae
support multiple response types per client
...
The Dynamic Client Registration spec specifies multiple response_types
and grant_types per client
(https://openid.net/specs/openid-connect-registration-1_0.html#ClientMetadata ).
Since grant_types can be inferred from response_types we should be able
to support both without needing to store grant_types.
This also helps with oidc-client-js which expects a client that supports
both "id_token" and "id_token token".
2018-08-16 11:38:46 -05:00
Juan Ignacio Fiorentino
59581f50d9
Merge pull request #256 from q3aiml/client-credentials-introspection
...
support introspection on client credentials tokens
2018-07-19 11:18:35 -03:00
Andy Clayton
9d5c2b39fa
support introspection on client credentials tokens
...
The response can simply omit fields that require id_token as the only
required field is "active" according to RFC 7662. I think it would be
nice for introspection of client credentials tokens to be supported by
default without needing to override
OIDC_INTROSPECTION_VALIDATE_AUDIENCE_SCOPE, but this is a start.
2018-07-06 11:41:09 -05:00
Juan Ignacio Fiorentino
d825061508
Fix: Token Model crashes in Django Admin when a token has been given to a Client using Client Credentials.
2018-07-05 18:37:01 -03:00
Juan Ignacio Fiorentino
776f040624
Fix BaseCodeTokenModel and user attr.
2018-04-13 16:36:51 -03:00
Juan Ignacio Fiorentino
dbed87aa78
Client credentials implementation.
2018-04-08 17:43:24 -03:00
Juan Ignacio Fiorentino
7ec3a763d6
PEP8 models.
2018-03-22 17:36:20 -03:00
Monte Hellawell
6beb186540
Add owner field to Client ( #211 )
...
* Add owner field to Client
* Add related_name to client owner
2017-11-09 11:57:22 +01:00
Wojciech Bartosiak
8149f1f9ab
Merge pull request #203 from psavoie/develop
...
Add pep8 compliance and checker
2017-08-23 15:29:49 +02:00
Philippe Savoie
5dcd6a10b0
Add pep8 compliance and checker
2017-08-22 11:53:52 -07:00
Dillon Dixon
04c03787af
Fix Django 2.0 deprecation warnings ( #185 )
...
* explicit default foreign key delete operations
* first iteration of Django 2.0 deprecation fixes
2017-08-10 11:38:50 +02:00
kaveh
b164388e15
Adds per-client consent customization
2017-04-11 13:16:06 -07:00
Ignacio Fiorentino
66a3497a1c
Fix refresh_token cannot be primary key if null.
2016-12-12 16:46:21 -03:00
Ignacio Fiorentino
9bdec5da7c
Add post_logout_redirect_uris for Client model.
2016-10-31 16:36:58 -03:00
Wojciech Bartosiak
d174d4e629
fix for generating client secret
2016-10-05 17:37:49 +02:00
Ignacio Fiorentino
1973ce1108
Add more attr to Client object.
2016-09-09 15:57:25 -03:00
Ignacio Fiorentino
f8dbfa5c04
Add Hybrid flow login in view and models.
2016-09-08 16:21:48 -03:00
Graham Ullrich
e04d42fedf
flake8 fixes
2016-08-08 11:54:40 -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
739b6ef381
Provide doc for user consent model.
2016-06-13 13:26:33 -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
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
e495d6c41d
Remplace AES encryption with database. For saving PKCE parameters.
2016-04-07 16:18:47 -03:00
Ignacio Fiorentino
a3247db273
Improve handle of client_secret with client_types.
2016-04-05 18:31:08 -03:00
Ignacio Fiorentino
1a74bcbc5c
Add client type to client creation form.
2016-04-04 17:19:49 -03:00
Ignacio Fiorentino
dff76cd1ea
Add HS256 support for JWS.
2016-03-22 16:17:56 -03:00
juanifioren
25a59c8344
Refactoring supporting OAuth2 flow.
2016-02-16 17:33:12 -03:00
juanifioren
998ea5fcd1
Implementation of RSA Keys using Models. Also providing DOC.
2016-01-25 17:52:24 -03:00
juanifioren
6e1f0822aa
Auto-generate client_id and client_secret in the admin.
2016-01-11 16:04:04 -03:00
juanifioren
cd45f29403
Improve admin models.
2015-12-04 13:55:04 -03:00
Sjoerd Langkemper
2fc4c138b3
Make (user, client) unique on UserConsent
...
We assume this combination is unique with our get and get_or_create
calls.
2015-11-10 11:29:05 +01:00
Nick Mohoric
16208c1092
Fix incorrect mixture of %s and format
2015-11-02 11:19:03 -05:00
juanifioren
20cc2a1b20
Fix Unicode bug in Client model.
2015-10-19 16:38:41 -03:00
Maarten van Schaik
03d2770f5e
Store refresh token
2015-09-30 12:42:04 +02:00
juanifioren
6aa656e361
Remove UserInfo Model.
2015-08-05 13:19:53 -03:00
Maarten van Schaik
77230af4c3
Use models setting instead of User
2015-07-21 15:57:23 +02:00
juanifioren
6dde3a59a8
Add nonce to Code model. Modify create_code function.
2015-07-15 16:23:36 -03:00
juanifioren
544861abec
Add UserConsent to models.
2015-06-22 18:42:04 -03:00
juanifioren
8f47f906de
Fix when returning address_formatted.
2015-06-16 14:35:07 -03:00
Chris Gough
e9ed60d16c
add __str__ and __unicode__ methods to models so they look better in the admin pages
2015-05-30 21:54:04 +10:00
juanifioren
0f03bdfb67
Add abstract class for Code and Token models.
2015-04-21 15:19:43 -03:00
juanifioren
63cb8351b8
Make address_formatted a property inside UserInfo model.
2015-04-15 14:54:42 -03:00
juanifioren
0df97dfb72
Add choices to gender in UserInfo.
2015-03-27 14:42:41 -03:00
juanifioren
b7d4c4377d
Reuse the scope function in models.
2015-03-20 14:38:28 -03:00
Jorge Vazquez
0b10f94a06
Adding removed fields that are required by the specs
2015-02-23 15:02:26 -03:00
Jorge Vazquez
c44309c540
Model definition changes
2015-02-18 16:25:34 -03:00
juanifioren
2bac30361e
Change name of the package.
2015-02-18 15:07:22 -03:00