From 48a2f6c496c3e20f1bfbf93942d9bfb896558b6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Germ=C3=A1n=20Lena?= Date: Thu, 23 Feb 2017 09:18:18 -0300 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cd7a855e..e0af0d41 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ $decoded = $verifier->verifyAndDecode($jwt); $verifier = new JWTVerifier([ 'supported_algs' => ['RS256'], 'valid_audiences' => [$client_id], - 'authorized_iss' => [$domain] + 'authorized_iss' => ["https://$domain/"] // the issues will look like https://your_account[.region].auth0.com/ (being region an optional segment only present for eu and au accounts. ]); $decoded = $verifier->verifyAndDecode($jwt);