From 3c65fe73adeba4de870d67434fe53dbb0c3e076d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lu=C3=ADs=20Gon=C3=A7alves?= Date: Tue, 6 May 2025 09:42:29 +0100 Subject: [PATCH] Mention refresh parameters in the readme --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2c09c53..0bda000 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,11 @@ on every load of the SPA. This function makes a decision based the query string ``` 4. Refreshing tokens ```typescript - await client.refresh() + await client.refresh({ + extraRefreshParameters: { + scope: 'openid' + } + }) ``` 5. Retrieving ID token claims ```typescript