Comments (14)
It worked for me. Just create an Oauth credential at https://console.developers.google.com and add whitelist http://localhost:3000, then copy the name of the credential in src/components/SignWith.js, also remember to set up your account in cloudinary and change the data in server/app.js
from medium-clone-on-node.
To solve this problem, I only had to do the following:
updated the assigned value of 'clientId' in SignInWith.js with a Google OAuth 2.0 token
You will need to go to https://console.developers.google.com/ to create an OAuth 2.0 token and it will look like 'YOUR_TOKEN.apps. googleusercontent.com
from medium-clone-on-node.
Signin with Google isnt working for me as well. please help
from medium-clone-on-node.
Guys I don't understand what they mean exactly. I can't find the url of the deploy in heroku, it is only referred to in the post of medium: https://my-medium-clone.herokuapp.com/ which is not, this url is a project made with ruby that served as inspiration for this project. If I'm wrong with this statement let me know.
I did the following:
1- I cloned the repository,
2- I installed all the dependencies
3- I changed "clientId" in SingIn.js (I created an OAuth credential in developers.google) and added http://localhost:3000 in Authorized JavaScript Sources // client side
4- I changed "cloudinary.config" (created an account in cloudinary and copied the required data) in app.js // server side
And I can run the repo locally without problems creating post and uploading images.
PS: This project is not finished, so there are some errors.
from medium-clone-on-node.
it's depolyed on heroku. So, i just want to bring admin in life.
from medium-clone-on-node.
i posted it as well. But couldn't get a specific reply.
from medium-clone-on-node.
@tassawarr could you solve it? What's your specific problem. I could not find where to edit in the signin.js but I changed the Oauth.js. but still, it's not working. when I click on the button, its non-responsive.
from medium-clone-on-node.
actually, it will take time. Because the problem is unspecified as well. So, I have to check it further. I'm trying to connect the original author of this repo.
from medium-clone-on-node.
i am trying firebase module, let me try using it. it might work. ill update if it works
from medium-clone-on-node.
Okay, i don't know enough about firebase and not enough experienced as well. So, thanks for your kindness.
from medium-clone-on-node.
https://codeburst.io/build-simple-medium-com-on-node-js-and-react-js-a278c5192f47
follow this
from medium-clone-on-node.
@BiosTEC How did you add http://localhost:3000 to your whitelist. I cannot add localhost to it. if I try to add localhost I get this error "Invalid domain: must be a top private domain" and If I try localhost:3000 I get this other error "Invalid domain: cannot contain port."
I hope any of you guys did with a solution to test the app locally.
from medium-clone-on-node.
Guys I don't understand what they mean exactly. I can't find the url of the deploy in heroku, it is only referred to in the post of medium: https://my-medium-clone.herokuapp.com/ which is not, this url is a project made with ruby that served as inspiration for this project. If I'm wrong with this statement let me know.
I did the following:
1- I cloned the repository,
2- I installed all the dependencies
3- I changed "clientId" in SingIn.js (I created an OAuth credential in developers.google) and added http://localhost:3000 in Authorized JavaScript Sources // client side
4- I changed "cloudinary.config" (created an account in cloudinary and copied the required data) in app.js // server sideAnd I can run the repo locally without problems creating a post and uploading images.
PS: This project is not finished, so there are some errors.
i do persist like this, but when logging its ask old google client id
Solved, dot forget to check dist folder ad change google login id on there
from medium-clone-on-node.
https://codeburst.io/build-simple-medium-com-on-node-js-and-react-js-a278c5192f47
follow this
the codeburst link is broken, but you can find the same article here now: https://medium.com/swlh/clone-medium-on-node-js-and-react-js-731cdfbb6878
from medium-clone-on-node.
Related Issues (14)
- Do you have a demo? HOT 2
- Unable to publish story HOT 1
- npm run dev trigger "osascript wants access to control"
- No signup option
- RIP
- How to host the local website to firebase?
- Git push permission Denied for adding new feature, although i followed all steps of creating a new feature branch and then push.
- very soon i will add more feature
- fontawesome-webfont responded with 404 along with many other same type of error in console.
- test
- I want to contribute to this work , which is priority function ?
- Warnings on console: React does not recognize the `data-react-className` / Each child in an array or iterator should have a unique "key" prop / ...
- Separate server code from front-end code
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 medium-clone-on-node.