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

feat: add updated OTP example #1308

Merged
merged 5 commits into from
Jan 29, 2025
Merged

Conversation

iykazrji
Copy link
Collaborator

@iykazrji iykazrji commented Jan 29, 2025

Pull Request Checklist


PR-Codex overview

This PR focuses on enhancing the documentation and code examples for OTP (One-Time Password) authentication in a React Native app, introducing a new SignInWithOtp component and an OtpPopUp component for better user interaction.

Detailed summary

  • Added a tip section in setup-guide.mdx for skipping steps if using only OTP auth.
  • Updated the authenticating-with-otp.mdx to include a new example for a SignInWithOtp component.
  • Introduced OtpPopUp component for OTP input handling.
  • Refactored authentication logic using hooks and improved user experience with loading states.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Copy link

vercel bot commented Jan 29, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
aa-sdk-site ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 29, 2025 1:22am
aa-sdk-ui-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 29, 2025 1:22am

Copy link
Collaborator Author

iykazrji commented Jan 29, 2025


How to use the Graphite Merge Queue

Add the label graphite-merge-queue to this PR to add it to the merge queue.

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@iykazrji iykazrji changed the title feat: add updated example feat: add updated OTP example Jan 29, 2025
@iykazrji iykazrji merged commit 09db1c8 into moldy/rn-docs-base Jan 29, 2025
7 of 8 checks passed
@iykazrji iykazrji deleted the iyk/update-otp-docs-example branch January 29, 2025 01:24
moldy530 pushed a commit that referenced this pull request Jan 29, 2025
* feat: add updated example

* fix: fix linting

* fix: fix tip tag formatting in setup-guide page

* fix: fix linting

* fix: change OTP step call out position to above email auth
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

Successfully merging this pull request may close these issues.

2 participants