This PR adds Google OAuth for all existing users, allowing users to log in or sign up via their Google account. --------- Co-authored-by: Pranav Raj S <pranav@chatwoot.com> Co-authored-by: Fayaz Ahmed <15716057+fayazara@users.noreply.github.com> Co-authored-by: Sojan <sojan@pepalo.com>
21 lines
516 B
JavaScript
21 lines
516 B
JavaScript
import Login from './Login';
|
|
import { frontendURL } from '../../helper/URLHelper';
|
|
|
|
export default {
|
|
routes: [
|
|
{
|
|
path: frontendURL('login'),
|
|
name: 'login',
|
|
component: Login,
|
|
props: route => ({
|
|
config: route.query.config,
|
|
email: route.query.email,
|
|
ssoAuthToken: route.query.sso_auth_token,
|
|
ssoAccountId: route.query.sso_account_id,
|
|
ssoConversationId: route.query.sso_conversation_id,
|
|
authError: route.query.error,
|
|
}),
|
|
},
|
|
],
|
|
};
|