Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
earthodev authored Oct 24, 2024
1 parent c99bb73 commit 76c9920
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -273,8 +273,11 @@ Enhance your app’s authentication with Eartho. It provides a **privacy-first l
Implement login and logout functionality to allow users to sign in or out securely:
```javascript
function login() {
eartho.connectWithPopup().then(user => {
console.log('Logged in as:', user);
eartho.connectWithPopup().then(result => {
console.log('Logged in as:', result.token);
console.log('Logged in as:', result.user);
auth0/nextauth/firebase/supabase/clerk.loginWithCustomToken(result.token.)
}).catch(err => {
console.error('Login failed:', err);
});
Expand Down

0 comments on commit 76c9920

Please sign in to comment.