diff --git a/4.0/docs/jwt.md b/4.0/docs/jwt.md index eee8c790..2b1b293a 100644 --- a/4.0/docs/jwt.md +++ b/4.0/docs/jwt.md @@ -345,7 +345,7 @@ let jwksData = try Data( let jwks = try JSONDecoder().decode(JWKS.self, from: jwksData) // Create signers and add JWKS. -try app.signers.use(jwks: jwks) +try app.jwt.signers.use(jwks: jwks) ``` You can now pass JWTs from Apple to the `verify` method. The key identifier (`kid`) in the JWT header will be used to automatically select the correct key for verification. @@ -418,4 +418,4 @@ app.get("microsoft") { req -> EventLoopFuture in return .ok } } -``` \ No newline at end of file +```