From 025ad5b159bfe0efd107d41861bcb4bca33aa5e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gytis=20=C4=8Cepkauskas?= <98940208+GytisCepk@users.noreply.github.com> Date: Tue, 29 Oct 2024 23:13:34 +0200 Subject: [PATCH] Fix method name in README.md (#263) --- ...authorization-3f00ac2a-a4ab-4726-920a-e86d734aa609.json | 7 +++++++ packages/browser/README.md | 2 +- packages/browser/src/index.ts | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 change/@itwin-browser-authorization-3f00ac2a-a4ab-4726-920a-e86d734aa609.json diff --git a/change/@itwin-browser-authorization-3f00ac2a-a4ab-4726-920a-e86d734aa609.json b/change/@itwin-browser-authorization-3f00ac2a-a4ab-4726-920a-e86d734aa609.json new file mode 100644 index 00000000..f4ab8609 --- /dev/null +++ b/change/@itwin-browser-authorization-3f00ac2a-a4ab-4726-920a-e86d734aa609.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "Fix method name in README.md", + "packageName": "@itwin/browser-authorization", + "email": "GytisCepk@users.noreply.github.com", + "dependentChangeType": "patch" +} diff --git a/packages/browser/README.md b/packages/browser/README.md index f4f1ca5e..e0a17038 100644 --- a/packages/browser/README.md +++ b/packages/browser/README.md @@ -35,7 +35,7 @@ await client.signInRedirect(); Instead of a redirect, you may want to trigger a pop up to handle the sign in process: ```typescript -await client.signinPopup(); +await client.signInPopup(); ``` After the user signs in, they will be redirected to the redirect url specified in your oidc configuration (developer.bentley.com) diff --git a/packages/browser/src/index.ts b/packages/browser/src/index.ts index 4a8b5d79..5999744e 100644 --- a/packages/browser/src/index.ts +++ b/packages/browser/src/index.ts @@ -36,7 +36,7 @@ await client.signInRedirect(); Instead of a redirect, you may want to trigger a pop up to handle the sign in process: ```typescript -await client.signinPopup(); +await client.signInPopup(); ``` After the user signs in, they will be redirected to the redirect url specified in your oidc configuration (developer.bentley.com)