Comments (7)
Same issue with Strapi 4.6.1
and Node 18
. I got a dependency conflict when I tried to install using pnpm
. After trying with yarn
, I got the issue described above, and after trying many (silly) solutions, yarn
complaint that plugin didn't support installation with Node 18
engine.
from strapi-google-auth.
Same issue with Strapi
4.6.1
andNode 18
. I got a dependency conflict when I tried to install usingpnpm
. After trying withyarn
, I got the issue described above, and after trying many (silly) solutions,yarn
complaint that plugin didn't support installation withNode 18
engine.
@robmanganelly yarn
wasn't initially happy with this either (and of course I don't really know yet if this is supposed to work with node 18 anyway...), but I got it to install with:
yarn add strapi-google-auth --ignore-engines
from strapi-google-auth.
I am on node/16.19.1 & Strapi 4.7.1
- Same issue.
I also created a fresh blank strapi app:
- Same issue.
To me this looks more as if the plugin is not maintained / not compatible to Strapi 4.6.1 >
from strapi-google-auth.
I happens when adding the details to the config:
// "google-auth": {
// enabled: true,
// resolve: "./node_modules/strapi-google-auth/" // resolves the issue
// },
When not defined the issue seems to vanish.
Still the plugin seems to be usable?!
from strapi-google-auth.
Is it about the plugin folder should be in the format of strap-plugin-<plugin-name>
?
from strapi-google-auth.
To solve that put this in your plugins:
module.exports = ({ env }) => ({
'google-auth': {
clientID: env('GOOGLE_CLIENT_ID'),
clientSecret: env('GOOGLE_CLIENT_SECRET'),
redirectUri: env('GOOGLE_REDIRECT_URI'),
},
});
This is the key enabled: true
it doesn't work
from strapi-google-auth.
The plugin now works with the latest version of strapi & node 18.x.x. Please read the documentation given in the git repo.
Closing this issue for now. Please reopen if you are facing any issue.
Thanks.
from strapi-google-auth.
Related Issues (17)
- GoogleAuth menu not appearing in strapi HOT 2
- Use with React Native
- Error fetching the Login URL HOT 4
- I am getting JsonWebTokenError for strapi-google-auth/me HOT 3
- Node 18 Support HOT 3
- Updating the plugin to work with the latest strapi versions HOT 1
- interface config dont show HOT 1
- Help with tutorial
- Get Google Authentication URL error HOT 4
- can this be extended to getting more user info(profile-pic,name) etc HOT 2
- The "path" argument must be of type string. Received undefined HOT 4
- GoogleAuth menu doesn't show in menus after plugin been enabled HOT 1
- TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined HOT 3
- Google Auth doesn't display on the Login screen after everything is correctly setup HOT 1
- Get Google Authentication URL dosen't return the REDIRECTION_AUTH_CODE HOT 1
- path: 'STRAPI_BACKEND_URL/strapi-google-auth/init' return 400 (Bad Request) HOT 2
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 strapi-google-auth.