741
questions
0
votes
0
answers
20
views
keystone.js graphql subscriptions not working - code: 4406, reason: "Subprotocol not acceptable"
I am developing a keystone app, where we want to use graphql subscriptions.
Followed the documentation:
https://keystonejs.com/docs/config/config#extend-http-server
and the keytone github example for ...
0
votes
0
answers
21
views
Keystonejs 6 validating session token
We are currently building an app with Keystone 6 as backend and have a security concern when it comes to authenticating users. With the built in authentication method, I can use someone's token to get ...
0
votes
0
answers
12
views
Cannot send api req in github codespaces
I am trying to build a keystonejs app in the github codespaces but when the default keystone nextjs app trying to fetch requests to the server it's always giving a 400 response. I have tried the ...
0
votes
0
answers
69
views
KeystoneJs 6 Forgot password on Signin page
I'm trying to implement a password reset functionality in my KeystoneJS 6 application. I've managed to configure email sending, and I've read the documentation regarding the ResetPasswordLink. However,...
0
votes
1
answer
53
views
How to change KeystoneJS v6 database from default SQLite to MySQL
By default, when I installed KeystoneJS v6 headless CMS, it's connected to SQLite database.
If I try to change provider to MySQL, in file keystone.ts I first replace provider to 'mysql' and url to ...
1
vote
2
answers
74
views
Keystone.js isAdmin var mentioned in documentation not working
I'm currently working on a KeystoneJS project and encountering an issue with TypeScript. I've defined an access control function, isAdmin, as suggested in the KeystoneJS documentation:
const isAdmin = ...
0
votes
0
answers
110
views
How to fetch and pass the dynamic data into the custom field (Keystone.js 6)?
I need to pass some dynamic data from another list field into the my custom field.
Let say I need to improve existing keystone example with the Rating custom field and pass into it some User items.
So ...
1
vote
1
answer
197
views
In Keystone 6, can we disable the user authentication/user login?
It looks like there was a somewhat straightforward way to disable in in Keystone 5 via -
https://github.com/keystonejs/keystone-5/blob/main/docs/guides/authentication.md
But I can't seem to find any ...
-1
votes
1
answer
205
views
Keystone: How to get context type based on defined lists?
the KeystoneContext type doesn't seem to give typescript support for context.query.[list]
what i tried
export const keystoneContext = ((globalThis as any).keystoneContext ||
getContext(config, ...
0
votes
1
answer
231
views
Keystone with Supabase?
I'm using Supabase and I'd like to add CMS functionality. I already have a table called Profiles.
When I install Keystone JS and provide my Supabase DB connection details I get this warning:
⚠️ ...
-1
votes
2
answers
274
views
How do I create a Keystone.js field that can take multiple images as an input and then store them?
Basically, I want to know how I can create a field in Keystone.js (Ver.6) that can take in multiple images as an input and then store them in a specified storage (S3 or Local).
I checked to see if ...
1
vote
0
answers
3k
views
Error [MongoError]: Unsupported OP_QUERY command: find
I cannot work anymore on my project KeystoneJS.
I am getting this error:
Error searching database for update 0.0.1-admins:
Error [MongoError]: Unsupported OP_QUERY command: find. The client driver may ...
0
votes
1
answer
97
views
How can I use Azure Storage Account with Keystone?
I have an app that I need to move to an Azure subcription. the stack is NextJs, Prisma and Keystone.
It is doing some file uploading and Keystone have built in support for s3 storage.
Is there a way ...
0
votes
1
answer
67
views
Add logged in user ID to foreign key field automatically in KeystoneJS
I'm creating an application in KeystoneJS with the documentation provided for that framework. So, in my application, there are 2 tables, one is user and the other one is post. So, I would like to know,...
3
votes
0
answers
110
views
Adding access controls to users in KeystoneJS
everyone!
I'm learning about KeystoneJS referring its manual. In this manual, I've stuck at an area of how to add access controls from the back-end to users which has labeled as admin. So, I'm ...