From a4c2bd92d686e1eada3f04cd0012355389318e4b Mon Sep 17 00:00:00 2001 From: Pratap Mridha Date: Tue, 7 Mar 2023 12:06:52 +0530 Subject: [PATCH] login with google --- package.json | 3 +- src/components/login/Auth.vue | 53 +++++++++ src/components/participant/Login.vue | 117 ++++++++++---------- src/config.js | 1 + src/mixins/loginWithGoogle.js | 17 +++ src/router.js | 6 +- src/utils/auth0Connection.js | 10 ++ src/views/admin/AdminLogin.vue | 160 ++++++++++++++------------- 8 files changed, 231 insertions(+), 136 deletions(-) create mode 100644 src/components/login/Auth.vue create mode 100644 src/mixins/loginWithGoogle.js create mode 100644 src/utils/auth0Connection.js diff --git a/package.json b/package.json index 245565dc..681c4b0c 100644 --- a/package.json +++ b/package.json @@ -56,8 +56,8 @@ "vue-sidebar-menu": "^4.7.4", "vue-stepper": "^1.4.2", "vue-sweetalert2": "^5.0.2", - "vuedraggable": "^2.24.3", "vue-vanilla-datetime-picker": "^1.2.0", + "vuedraggable": "^2.24.3", "vuejs-paginate": "^2.1.0", "vuex": "^3.0.0", "watchify": "^4.0.0", @@ -69,6 +69,7 @@ "@vue/cli-plugin-unit-mocha": "^3.0.0-rc.10", "@vue/cli-service": "^3.0.0-rc.10", "@vue/test-utils": "^1.0.0-beta.20", + "babel-eslint": "^10.1.0", "babel-preset-es2015": "^6.24.1", "babelify": "^7.2.0", "chai": "^4.1.2", diff --git a/src/components/login/Auth.vue b/src/components/login/Auth.vue new file mode 100644 index 00000000..3acd2a7c --- /dev/null +++ b/src/components/login/Auth.vue @@ -0,0 +1,53 @@ + + + + + diff --git a/src/components/participant/Login.vue b/src/components/participant/Login.vue index 7fe6f382..133745ac 100644 --- a/src/components/participant/Login.vue +++ b/src/components/participant/Login.vue @@ -9,7 +9,7 @@ Session expired. Click to reload. -