Fix tests for end session endpoint.

This commit is contained in:
Ignacio Fiorentino 2016-11-01 16:01:03 -03:00
parent e458542be2
commit 59db79b65c
3 changed files with 33 additions and 18 deletions

View file

@ -18,7 +18,7 @@ from oidc_provider.models import (
from oidc_provider import settings
def create_id_token(user, aud, nonce, at_hash=None, request=None, scope=[]):
def create_id_token(user, aud, nonce='', at_hash='', request=None, scope=[]):
"""
Creates the id_token dictionary.
See: http://openid.net/specs/openid-connect-core-1_0.html#IDToken