@@ -18,8 +18,8 @@ def test_client_dynamic_registration(iam_server):
18
18
f"{ iam_server .url } /oauth/register" ,
19
19
json = {
20
20
"client_name" : "Nubla Dashboard" ,
21
- "client_uri" : "http://example.org " ,
22
- "redirect_uris" : ["http://example.org /authorize" ],
21
+ "client_uri" : "http://client.test " ,
22
+ "redirect_uris" : ["http://client.test /authorize" ],
23
23
"grant_types" : ["authorization_code" ],
24
24
"response_types" : ["code" , "token" , "id_token" ],
25
25
"token_endpoint_auth_method" : "client_secret_basic" ,
@@ -39,8 +39,8 @@ def test_logs(iam_server, caplog):
39
39
f"{ iam_server .url } /oauth/register" ,
40
40
json = {
41
41
"client_name" : "Nubla Dashboard" ,
42
- "client_uri" : "http://example.org " ,
43
- "redirect_uris" : ["http://example.org /authorize" ],
42
+ "client_uri" : "http://client.test " ,
43
+ "redirect_uris" : ["http://client.test /authorize" ],
44
44
"grant_types" : ["authorization_code" ],
45
45
"response_types" : ["code" , "token" , "id_token" ],
46
46
"token_endpoint_auth_method" : "client_secret_basic" ,
@@ -59,7 +59,7 @@ def test_logs(iam_server, caplog):
59
59
def app (iam_server , client ):
60
60
app = Flask (__name__ )
61
61
app .config ["SECRET_KEY" ] = str (uuid .uuid4 ())
62
- app .config ["SERVER_NAME" ] = "example.org "
62
+ app .config ["SERVER_NAME" ] = "client.test "
63
63
64
64
oauth = OAuth ()
65
65
oauth .init_app (app )
0 commit comments