Getting Twitter/X username with oAuth

Hey, how can I get twitter/x username during authentication?
3 Replies
Ping
Ping4w ago
I assume you're using the twitter social provider, in the config you can pass mapProfileToUser so you could store their username as an additional field:
No description
Naveen MC
Naveen MCOP4w ago
Makes sense! Thank you @Max

Did you find this page helpful?