precedent
                                
                                 precedent copied to clipboard
                                
                                    precedent copied to clipboard
                            
                            
                            
                        Added Twitter auth
This PR adds Twitter authentication to NextAuth.
Additionally it fixes an issue with Twitter OAuth 2.0 which doesn't return the users email address and can cause issues in the user-dropdown.tsx component because otherwise it'd return null.
Someone is attempting to deploy a commit to the Elegance Team on Vercel.
A member of the Team first needs to authorize it.
Great addition! The only concern I have here is there will be an extra step for folks who wanna clone and deploy this without editing the code locally. Is there a way we can check if the TWITTER_CLIENT_ID and TWITTER_CLIENT_SECRET variables are defined, if so, then we show the Twitter login button; if not, we hide it?
Great addition! The only concern I have here is there will be an extra step for folks who wanna clone and deploy this without editing the code locally. Is there a way we can check if the
TWITTER_CLIENT_IDandTWITTER_CLIENT_SECRETvariables are defined, if so, then we show the Twitter login button; if not, we hide it?
I think this can be handled through next-auth list of enabled providers