issues
search
ihsan-project
/
ihsan-react
Apache License 2.0
1
stars
0
forks
source link
Integrate Google SSO
#3
Open
mmislam101
opened
3 years ago
mmislam101
commented
3 years ago
Setup dotenv so that you can console.log environment keys from a
.env
file.
https://www.npmjs.com/package/dotenv-webpack
https://medium.com/@thejasonfile/using-dotenv-package-to-create-environment-variables-33da4ac4ea8f
Get GoogleSSO key from @mmislam101
Setup google authentication and get back an auth token
https://www.npmjs.com/package/react-google-login
Move the counter to the Home component
Switch the Login component for the Home component
https://reactjs.org/docs/conditional-rendering.html
.env
file.