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 · 0 comments
Open
Tracked by #16378

Add Twitter/X to CommonOAuth2Provider #16379

rwinch opened this issue Jan 8, 2025 · 0 comments

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
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