tests/e2e: fix dex tests failing (#11761)
* tests/e2e: fix dex tests failing Signed-off-by: Jens Langhammer <jens@goauthentik.io> * force no special chars Signed-off-by: Jens Langhammer <jens@goauthentik.io> --------- Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
@ -7,8 +7,8 @@ staticClients:
|
||||
- id: example-app
|
||||
name: Example App
|
||||
redirectURIs:
|
||||
- {{ .Env.AK_REDIRECT_URL }}
|
||||
secret: {{ .Env.AK_CLIENT_SECRET }}
|
||||
- "{{ .Env.AK_REDIRECT_URL }}"
|
||||
secret: "{{ .Env.AK_CLIENT_SECRET }}"
|
||||
staticPasswords:
|
||||
- email: admin@example.com
|
||||
# hash for 'password', for testing
|
||||
|
@ -13,7 +13,7 @@ from selenium.webdriver.support.wait import WebDriverWait
|
||||
from authentik.blueprints.tests import apply_blueprint
|
||||
from authentik.core.models import User
|
||||
from authentik.flows.models import Flow
|
||||
from authentik.lib.generators import generate_id, generate_key
|
||||
from authentik.lib.generators import generate_id
|
||||
from authentik.sources.oauth.models import OAuthSource
|
||||
from authentik.stages.identification.models import IdentificationStage
|
||||
from tests.e2e.utils import SeleniumTestCase, retry
|
||||
@ -23,7 +23,7 @@ class TestSourceOAuth2(SeleniumTestCase):
|
||||
"""test OAuth Source flow"""
|
||||
|
||||
def setUp(self):
|
||||
self.client_secret = generate_key()
|
||||
self.client_secret = generate_id()
|
||||
self.slug = generate_id()
|
||||
super().setUp()
|
||||
self.run_container(
|
||||
|
Reference in New Issue
Block a user