Skip to content

[Feature request]: Add a way to verify an OTP from a token hash #655

@NicolasAlmerge

Description

@NicolasAlmerge

General Info

  • I installed the latest version of Supabase Kt
  • I checked for similar feature requests

Feature request

Add a fun verifyEmailOtp(type: OtpType.Email, tokenHash: String) function to verify an OTP from a token hash. This feature is present in official Supabase SDKs such as the JS SDK (see verifyOtp) and Swift SDK (see merged PR).

Usecase

This would be very useful when verifying an OTP coming from a link sent by email.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions