@@ -18,8 +18,8 @@ def test_client_dynamic_registration(iam_server):
1818 f"{ iam_server .url } /oauth/register" ,
1919 json = {
2020 "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" ],
2323 "grant_types" : ["authorization_code" ],
2424 "response_types" : ["code" , "token" , "id_token" ],
2525 "token_endpoint_auth_method" : "client_secret_basic" ,
@@ -39,8 +39,8 @@ def test_logs(iam_server, caplog):
3939 f"{ iam_server .url } /oauth/register" ,
4040 json = {
4141 "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" ],
4444 "grant_types" : ["authorization_code" ],
4545 "response_types" : ["code" , "token" , "id_token" ],
4646 "token_endpoint_auth_method" : "client_secret_basic" ,
@@ -59,7 +59,7 @@ def test_logs(iam_server, caplog):
5959def app (iam_server , client ):
6060 app = Flask (__name__ )
6161 app .config ["SECRET_KEY" ] = str (uuid .uuid4 ())
62- app .config ["SERVER_NAME" ] = "example.org "
62+ app .config ["SERVER_NAME" ] = "client.test "
6363
6464 oauth = OAuth ()
6565 oauth .init_app (app )
0 commit comments