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

Add Twitter/X to CommonOAuth2Provider #16379

Open
Tracked by #16378
rwinch opened this issue Jan 8, 2025 · 4 comments
Open
Tracked by #16378

Add Twitter/X to CommonOAuth2Provider #16379

rwinch opened this issue Jan 8, 2025 · 4 comments
Assignees
Labels
in: config An issue in spring-security-config in: oauth2 An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose) status: ideal-for-contribution An issue that we actively are looking for someone to help us with type: enhancement A general enhancement

Comments

@rwinch
Copy link
Member

rwinch commented Jan 8, 2025

To simplify configuring applications to authenticating using Twitter / X v2 API we should add Twitter/X to the CommonOAuth2Provider.

spring.security.oauth2.client.registration.x.scope=users.read,tweet.read

spring.security.oauth2.client.provider.x.authorization-uri=https://x.com/i/oauth2/authorize
spring.security.oauth2.client.provider.x.token-uri=https://api.x.com/2/oauth2/token
spring.security.oauth2.client.provider.x.user-info-uri=https://api.x.com/2/users/me
spring.security.oauth2.client.provider.x.user-name-attribute=username
@rwinch rwinch added in: config An issue in spring-security-config status: ideal-for-contribution An issue that we actively are looking for someone to help us with in: oauth2 An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose) type: enhancement A general enhancement labels Jan 17, 2025
@kiruthiga1793
Copy link

Hi @rwinch , I would like to contribute to this issue. Can you assign me or can I join you for support?

@rwinch
Copy link
Member Author

rwinch commented Jan 18, 2025

Thank you for volunteering @kiruthiga1793! This issue is now assigned to you. Looking forward to seeing the pull request!

@kiruthiga1793
Copy link

Hi @rwinch , I have made the changes in my local. To which branch do I need to create a pull request from my feature branch?

@rwinch
Copy link
Member Author

rwinch commented Jan 22, 2025

Thank you @kiruthiga1793! Please create this against main

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: config An issue in spring-security-config in: oauth2 An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose) status: ideal-for-contribution An issue that we actively are looking for someone to help us with type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

2 participants