Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions Security
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
Use a password manager to store and generate passwords.
Avoid password reuse across websites and apps.
Avoid using personal information in passwords.
Use Multi-Factor Authentication.
const { data, error } = await supabase.auth.signInWithOtp({
phone: '+13334445555',
})const {
data: { session },
error,
} = await supabase.auth.verifyOtp({
phone: '13334445555',
token: '123456',
type: 'sms',
}){
"access_token": "<ACCESS_TOKEN>",
"token_type": "bearer",
"expires_in": 3600,
"refresh_token": "<REFRESH_TOKEN>"
}const { data, error } = await supabase.auth.updateUser({
phone: '123456789',
})
Loading