Skip to content
This repository was archived by the owner on Jun 12, 2021. It is now read-only.

Commit 148d6b7

Browse files
committed
Wrong message class
1 parent d14a972 commit 148d6b7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/oidcendpoint/oidc/read_registration.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
from oic.oauth2 import ErrorResponse
21
from oidcmsg.message import Message
2+
from oidcmsg.oauth2 import ResponseMessage
33
from oidcmsg.oidc import RegistrationResponse
44

55
from oidcendpoint.endpoint import Endpoint
@@ -9,7 +9,7 @@
99
class RegistrationRead(Endpoint):
1010
request_cls = Message
1111
response_cls = RegistrationResponse
12-
error_response = ErrorResponse
12+
error_response = ResponseMessage
1313
request_format = "urlencoded"
1414
request_placement = "url"
1515
response_format = "json"

0 commit comments

Comments
 (0)