MCPcopy Create free account
hub / github.com/authlib/authlib / server

Function server

tests/flask/test_oauth2/test_openid_code_grant.py:45–53  ·  view source on GitHub ↗
(server, app)

Source from the content-addressed store, hash-verified

43
44@pytest.fixture(autouse=True)
45def server(server, app):
46 app.config.update(
47 {
48 "OAUTH2_JWT_ISS": "Authlib",
49 "OAUTH2_JWT_KEY": "secret",
50 "OAUTH2_JWT_ALG": "HS256",
51 }
52 )
53 return server
54
55
56def register_oidc_code_grant(server, require_nonce=False):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected