Comments (8)
It now works! my bad.. I had two json files for config.. !
Mucho thanks!
Cheers
Rajesh
from evershop.
https://www.npmjs.com/package/@evershop/google_login
Is that what you're looking for?
from evershop.
https://www.npmjs.com/package/@evershop/google_login
Is that what you're looking for?
Hi.. I npminstalled this, and put the extension and clientid/secret in the json file, but it is not showing a Google login.. Is there anything else that needs to be done?
Rgds
Rajesh
from evershop.
BTW, I also did the npm run build.. but the Google Signin is not showing up in the signup or signin screen..
from evershop.
Hi @trilloc ,
If you do it correctly, a button for Google login will be displayed in the login form.
Can you show the extension config? And did you make any modification to the default login form?
Thanks
from evershop.
Hi @treoden
Here is the config file.. I have two extensions.. (I have not modified the default login form..)
{
"shop" : {
"currency": "INR",
"language": "en",
"weightUnit": "kg"
},
"catalog": {
"product": {
"image": {
"thumbnail": {
"width": 100,
"height": 100
},
"listing": {
"width": 300,
"height": 300
},
"single": {
"width": 500,
"height": 500
}
}
},
"showOutOfStockProduct": false
},
"system": {
"file_storage": "local",
"theme": "friday",
"extensions": [
{
"name": "razorpay",
"resolve": "node_modules/evershop-razorpay/razorpay",
"enabled": true
},
{
"name": "google_login",
"resolve": "node_modules/@evershop/google_login",
"enabled": true,
"priority": 10
}
]
},
"google_login": {
"client_id": "12345678899-xxxxxxxxx.apps.googleusercontent.com",
"client_secret": "GXXXXXXXX",
"success_redirect_url": "http://localhost:3000",
"failure_redirect_url": "http://localhost:3000/account/login"
},
"themeConfig": {
"logo": {
"alt": "Like$",
"src": "/assets/logo.png",
"width": 50,
"height": 50
},
"headTags": {
"links": [],
"metas": [],
"scripts": []
},
"copyright": "© 2023 Likes Platform. All Rights Reserved."
}
}
from evershop.
It looks good.
Did you make any modification to the default login form?
Google login will automatically inject a login button to the form based on the AreaID. If you make the modification, make sure to keep this AreaID
from evershop.
Hi @treoden, I have not made any modifications to the login form.. (Again I cloned the repo to run this.. not from npx..)
The above config still doesnt work.. How do you mean to keep this AreaID?
Cheers
Rajesh
from evershop.
Related Issues (20)
- [BUG] query.and is not a function HOT 1
- [BUG] Category scrolling on Mobile HOT 1
- [BUG] Coupon Code string could not include '-' or '_'
- [BUG] Items in the cart still appear after customer log out HOT 1
- Widget feature
- [BUG] AggregateError [ECONNREFUSED]: HOT 3
- [BUG] Search input not work in mobile HOT 2
- Headline board
- South london press
- Instagram post
- facebook post
- [SUPPORT] customise store attributes HOT 5
- [BUG] Database not being written to, images not showing and url rewrite not working HOT 1
- How to change the validity period of sid
- Create SECURITY.md
- [BUG] npm run start - column not found HOT 1
- [FEATURE REQUEST] Display stock in the product page HOT 1
- Allow updating quantity of item in cart
- Support shipping note during checkout
- [BUG] How to pass config variables to a custom theme HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from evershop.