Skip to content

Conversation

@ketankhairnar
Copy link

Implements OAuth login and account linking functionality as requested in issue #20.

Features:

  • X OAuth login on authentication page
  • X account connection on user profile page
  • Automatic profile updates with Twitter username and URL
  • Database migration for Twitter OAuth fields
  • Proper error handling and security measures

Technical implementation:

  • Added omniauth gems (omniauth, omniauth-twitter2, omniauth-rails_csrf_protection)
  • Created OauthCallbacksController for handling OAuth callbacks
  • Added twitter_uid and twitter_username fields to users table
  • Updated views for login and profile pages
  • Added environment variables for Twitter API credentials
  • Included comprehensive setup documentation

Implements OAuth login and account linking functionality as requested in issue antiwork#20.

Features:
- X OAuth login on authentication page
- X account connection on user profile page
- Automatic profile updates with Twitter username and URL
- Database migration for Twitter OAuth fields
- Proper error handling and security measures

Technical implementation:
- Added omniauth gems (omniauth, omniauth-twitter2, omniauth-rails_csrf_protection)
- Created OauthCallbacksController for handling OAuth callbacks
- Added twitter_uid and twitter_username fields to users table
- Updated views for login and profile pages
- Added environment variables for Twitter API credentials
- Included comprehensive setup documentation
@seuros
Copy link
Contributor

seuros commented Sep 23, 2025

Where are the tests ?

Because just by reading the code, i know this implementation is legacy and break stuff.

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