(server, app)
| 43 | |
| 44 | @pytest.fixture(autouse=True) |
| 45 | def 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 | |
| 56 | def register_oidc_code_grant(server, require_nonce=False): |
nothing calls this directly
no outgoing calls
no test coverage detected