admin soft delete functionality, also fixed google sign in when user doesn't have first and last name
This commit is contained in:
@@ -44,7 +44,7 @@ const AuthModal: React.FC<AuthModalProps> = ({
|
||||
const handleGoogleLogin = () => {
|
||||
const clientId = process.env.REACT_APP_GOOGLE_CLIENT_ID;
|
||||
const redirectUri = `${window.location.origin}/auth/google/callback`;
|
||||
const scope = 'email profile';
|
||||
const scope = 'openid email profile';
|
||||
const responseType = 'code';
|
||||
|
||||
const googleAuthUrl = `https://accounts.google.com/o/oauth2/v2/auth?` +
|
||||
|
||||
Reference in New Issue
Block a user