Skip to content

Commit

Permalink
add info about postSignoutRedirectUri quirk to browser-auth readme (#191
Browse files Browse the repository at this point in the history
)

Co-authored-by: Ben Polinsky <ben-polinsky@users.noreply.github.com>
  • Loading branch information
ben-polinsky and ben-polinsky committed Aug 2, 2023
1 parent f3e2d2f commit a354fa8
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@itwin/browser-authorization",
"comment": "update readme",
"type": "none"
}
],
"packageName": "@itwin/browser-authorization"
}
4 changes: 3 additions & 1 deletion packages/browser/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,14 @@ const client = new BrowserAuthorizationClient({
redirectUri: // find/set at developer.bentley.com
scope: // find/set at developer.bentley.com
authority: // ims.bentley.com
postSignoutRedirectUri: // find/set at developer.bentley.com
postSignoutRedirectUri: // find/set at developer.bentley.com (see note below)
responseType: "code",
silentRedirectUri: // find/set at developer.bentley.com
});
```

> Important! The above `postSignoutRedirectUri` will not fully work if the url ends with /logout and https is not supported on your site. For local development where https is less common, we suggest using /logout-local for the url path.
The most common way to use an instance of `BrowserAuthorizationClient` will depend on your specific application and workflow. Here's one common way:

```typescript
Expand Down

0 comments on commit a354fa8

Please sign in to comment.