Skip to content

Commit 12d795b

Browse files
committed
chore: update authorizer-react
1 parent f67bb3a commit 12d795b

File tree

5 files changed

+99
-54
lines changed

5 files changed

+99
-54
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
- ✅ Forgot password flow using email
3131
- ✅ Social logins (Google, Github, Facebook, more coming soon)
3232
- ✅ Role-based access management
33+
3334
## Project Status
3435

3536
⚠️ **Authorizer is still an early beta! missing features and bugs are to be expected!** If you can stomach it, then bring authentication and authorization to your site today!
@@ -182,7 +183,7 @@ This example demonstrates how you can use [`@authorizerdev/authorizer-js`](/auth
182183
});
183184
184185
async function onLoad() {
185-
const res = await authorizerRef.fingertipLogin();
186+
const res = await authorizerRef.browserLogin();
186187
if (res && res.user) {
187188
// you can use user information here, eg:
188189
/**

app/build/bundle.js

Lines changed: 28 additions & 28 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/build/bundle.js.map

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/package-lock.json

Lines changed: 65 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"author": "Lakhan Samani",
1111
"license": "ISC",
1212
"dependencies": {
13-
"@authorizerdev/authorizer-react": "^0.1.0-beta.8",
13+
"@authorizerdev/authorizer-react": "^0.1.0-beta.16",
1414
"@types/react": "^17.0.15",
1515
"@types/react-dom": "^17.0.9",
1616
"esbuild": "^0.12.17",

0 commit comments

Comments
 (0)