import re

import pytest
from django.http import HttpRequest, HttpResponse
from django.test import Client

from helusers.jwt import JWT
from helusers.models import OIDCBackChannelLogoutEvent

from .conftest import AUDIENCE, encoded_jwt_factory, ISSUER1, unix_timestamp_now