Back

Support only numbers option on createToken endpoint

  • 0
  • Flutter
  • REST API
  • Cloud
kaykhahima
6 Feb, 2025, 12:55

Requesting for more customization on the createToken endpoint:

https://appwrite.io/docs/references/cloud/server-dart/users#createToken

I understand we can now specify the length and expiry period of the token, but suggesting to also specify the type (?) of token. i.e numbers only, letters only, mix of both, etc.

This would suit better conditions where a custom login flow uses the token for cases such as OTP.

TL;DR
Developers are requesting a way to specify the type of token (numbers only, letters only, etc.) on the createToken endpoint. This would enhance customization for specific use cases like OTP for custom login flows.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more