© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•3y ago
AlexBThomsen

Rest API endpoints for multi factor authentication

I can't figure out the endpoints for mfa?

I tried the following format but getting "404 page not found"

const response = await fetch(
${baseUrl}/auth/v1/mfa/enroll
${baseUrl}/auth/v1/mfa/enroll
, {
method: 'POST',
headers: new Headers({
'Content-Type': 'application/json',
'apikey': apiKey || ''
}),
body: JSON.stringify({
factorType: 'totp'
})
});
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

two-factor authentication
SupabaseSSupabase / help-and-questions
2mo ago
Mta Two-factor authentication
SupabaseSSupabase / help-and-questions
6mo ago
Multi-tenant authentication
SupabaseSSupabase / help-and-questions
13mo ago
docs for the REST API
SupabaseSSupabase / help-and-questions
4y ago