Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve 2FA Implementation and Documentation in Stack Auth API #386

Open
tanxeel opened this issue Jan 6, 2025 · 0 comments
Open

Improve 2FA Implementation and Documentation in Stack Auth API #386

tanxeel opened this issue Jan 6, 2025 · 0 comments

Comments

@tanxeel
Copy link

tanxeel commented Jan 6, 2025

Description:
The current 2FA implementation in the Stack Auth API is challenging to integrate due to its lack of clarity and usability. Currently, the feature is primarily exposed in the pre-built UI:
Account Settings Component

For a fully customizable 2FA integration, it seems necessary to rely on the endpoints, but the documentation provided is insufficient:
2FA Endpoint Documentation

Key issues:

  • Limited documentation on implementing a custom 2FA workflow.
  • No code examples or clear implementation guidelines for using the 2FA API endpoint.
  • Switching to Stack Auth from other solutions like Clerk has been difficult due to the lack of support for customized 2FA.

Expected Behavior

  • Comprehensive documentation with clear examples for integrating 2FA using API endpoints.
  • Support for a fully customizable 2FA workflow independent of the pre-built UI.

Suggested Improvements:

  • Enhance the 2FA API documentation with examples and use cases.
  • Provide guidelines for implementing a customizable 2FA workflow.
  • Expand the feature set beyond the pre-built UI to better support developers seeking flexibility.

Additional Information

This issue affects developers who require a tailored 2FA implementation for their applications. Addressing these concerns would significantly improve the adoption and usability of Stack Auth's API.

Thank you for your consideration!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant