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