-
Notifications
You must be signed in to change notification settings - Fork 81
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
Usage of Strapi API Token #352
Comments
👍 |
Strapi can generate a permanent api token that don't connect to a user. I need this because there is no login to my project but not I can't set the route in Strapi to public because of legal reasons. Because of this ask the question, currently I creaked my own solution. So this can be closed. |
@benjamincanac Could you please tell us a little bit about why the composables are not available on the server? What is the reason for this in this case? I want to build the SSR application using Strapi as the CMS backend. I don't want to make my CMS public, so I just created an API token, which is the common Strapi technique. Last but not least - using |
Doesn't this assume that the |
in Nuxt 3 you will need to setup a server API route
Now call this endpoint in your nuxt application.
This way you are making an authenticated request to strapi without exposing your credntials. |
This doesn't use |
Well Strapi Nuxt Module compostables are meant for client only. They won't work on the server. |
I looked in the documentation and i need a feature so i can make a request with nuxt to a strapi backend with the help of a api token that i generated in strapi is there a possibility for this or would this make any sence to have this feature? When yes i would volunteer to build something like that.
The text was updated successfully, but these errors were encountered: