chore: update authorizer-react

This commit is contained in:
Lakhan Samani
2021-10-04 01:37:28 +05:30
parent f67bb3a9fc
commit 12d795b4e8
5 changed files with 99 additions and 54 deletions

View File

@@ -30,6 +30,7 @@
- ✅ Forgot password flow using email
- ✅ Social logins (Google, Github, Facebook, more coming soon)
- ✅ Role-based access management
## Project Status
⚠️ **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
});
async function onLoad() {
const res = await authorizerRef.fingertipLogin();
const res = await authorizerRef.browserLogin();
if (res && res.user) {
// you can use user information here, eg:
/**