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: enable twitter social auth #1230

Merged
merged 8 commits into from
Jan 24, 2025
Merged

feat: enable twitter social auth #1230

merged 8 commits into from
Jan 24, 2025

Conversation

RobChangCA
Copy link
Collaborator

@RobChangCA RobChangCA commented Dec 17, 2024

Pull Request Checklist

Setup:
You will need to follow the guide here to enable auth0 and twitter in your application. https://accountkit.alchemy.com/signer/authentication/auth0

Testing steps:
You should be able to toggle on and off twitter in the sidebar.
You should be able to sign in to twitter via the X button in the authcard.


PR-Codex overview

This PR focuses on integrating Twitter as an OAuth authentication method in the application, enhancing user connection options and updating related components to support this new feature.

Detailed summary

  • Updated UserConnectionAvatar to display Twitter nickname if available.
  • Modified Config to include Twitter in oAuthMethods.
  • Added twitter.svg for Twitter branding.
  • Enhanced OAuth handling in sections.ts for Twitter.
  • Created TwitterIcon component.
  • Updated AuthType to include displayName for social providers.
  • Introduced getSocialProviderDisplayName function for consistent display names.
  • Updated Authentication component to toggle Twitter authentication.
  • Adjusted CompletingOAuth to use getSocialProviderDisplayName for better user feedback.

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

Copy link

vercel bot commented Dec 17, 2024

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 24, 2025 5:11pm
aa-sdk-ui-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 24, 2025 5:11pm

dphilipson
dphilipson previously approved these changes Dec 18, 2024
moldy530
moldy530 previously approved these changes Jan 23, 2025
examples/ui-demo/src/app/page.tsx Outdated Show resolved Hide resolved
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.

4 participants