Documentation home page
Search...
⌘K
Ask AI
Support
Dashboard
Dashboard
Search...
Navigation
Auth
addSecurityKey()
Welcome
Getting Started
Products
Platform
Reference
Blog
Overview
Backend Services
Authentication
Storage
AI
Client Libraries
Javascript
nhost-js
Auth
HasuraAuthClient
changeEmail()
changePassword()
createPAT()
getAccessToken()
getAuthenticationStatus()
getDecodedAccessToken()
getHasuraClaim()
getHasuraClaims()
getSession()
getUser()
isAuthenticated()
isAuthenticatedAsync()
onAuthStateChanged()
onTokenChanged()
refreshSession()
resetPassword()
sendVerificationEmail()
signIn()
signInPAT()
signOut()
signUp()
addSecurityKey()
elevateEmailSecurityKey()
connectProvider()
signInEmailOTP()
verifyEmailOTP()
signInIdToken()
linkIdToken()
signInSecurityKey()
Storage
GraphQL
Functions
React
Next.js
Vue
React Native
CLI
Commands
On this page
Parameters
Auth
addSecurityKey()
Use
nhost.auth.addSecurityKey
to add a security key to the user, using the WebAuthn API.
Parameters
nickname
optional
string
optional human-readable nickname for the security key
Was this page helpful?
Yes
No
Suggest edits
Raise issue
signUp()
elevateEmailSecurityKey()
Assistant
Responses are generated using AI and may contain mistakes.