-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to add secret token? #96
Comments
did you try to execute a function there |
You can create one endpoint and call it to generate a real-time secret, thats what i did |
@kristijorgji How about if I want to pass some identifier(id) to the |
@tapornanan I did exactly this and works fantastic. Create one api endpoint and call it in the build preview url hook by sending all the entity data. It works great, it also means that you make 2 api calls every time you open a content that is in |
http://localhost/preview?type=article&slug=game&secret=JWT_TOKEN_HERE
When i config jwt in config/plugins.js isn't work
I mean jwt token will generate 1 time not every time
expected : i want jwt token generate every time when i open link.
The text was updated successfully, but these errors were encountered: