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

Disable social logins when the associated provider is not available #52

Open
DevinLeamy opened this issue Aug 18, 2023 · 2 comments
Open
Labels
good first issue Good for newcomers

Comments

@DevinLeamy
Copy link
Contributor

Overview

Login with Google, Discord, Twitch only work if the associated social login provider is available. This typically requires access to an API key and, therefore, does not work for the opensource local deployment build (i.e. ./b data-snapshot run). However, on http://localhost:3000 (the splash page for the local build) the social logins are still listed, and do nothing or crash the web server when clicked.

Desired solution

Conditionally render the social logins based on whether the social login provider is available. A brute-force approach would be to not show the social logins if using the data-snapshot build.

@DevinLeamy DevinLeamy added the good first issue Good for newcomers label Aug 18, 2023
@melihaltin
Copy link

was that issue solved??

@bright8192
Copy link

You should disable Discord web hooks by adding:

discordHooksEnabled: false

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants