Skip to content

Commit dabb4be

Browse files
Merge pull request #12 from curityio/extra-refresh-params-update-readme
Mention refresh parameters in the readme
2 parents 78cd483 + 3c65fe7 commit dabb4be

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,11 @@ on every load of the SPA. This function makes a decision based the query string
5757
```
5858
4. Refreshing tokens
5959
```typescript
60-
await client.refresh()
60+
await client.refresh({
61+
extraRefreshParameters: {
62+
scope: 'openid'
63+
}
64+
})
6165
```
6266
5. Retrieving ID token claims
6367
```typescript

0 commit comments

Comments
 (0)