Voltz
Voltz
Explore posts from servers
NNuxt
Created by AxelSorensen on 7/30/2024 in #❓・help
How to store user-entered API key and access in server/api
Yeah you would just access the util for it
7 replies
NNuxt
Created by AxelSorensen on 7/30/2024 in #❓・help
How to store user-entered API key and access in server/api
And then map that cookie to their api token
7 replies
NNuxt
Created by AxelSorensen on 7/30/2024 in #❓・help
How to store user-entered API key and access in server/api
You can set a unique session token for the user in like a cookie or something and use that
7 replies
NNuxt
Created by AxelSorensen on 7/30/2024 in #❓・help
How to store user-entered API key and access in server/api
Just make a variable in like a server util like a map or something that maps the user id to the key, or store it in a db and fetch the api key for the user otherwise it won’t persist
7 replies