Is there any way, we can set cookie value in retool, so as to set access token in it.
document.cookie = "access_token=query1.data.access_token"; as a query (where query1 is API)
I have few set of API, that will generate access_token, that I want to store in cookie
Please help me out it's an urgent requirement
Try this article: API Authentication
@ScottR I have gone through this docs, But it's based on retool Authentication. What if I have my own set of Api to generate access token, that I want to store in cookie
Can you help me in syntax?
I cannot, I am sorry - I am not sure if you can do what you want to do in retool which is why this documentation exists...Maybe reach out to support to make sure that what you want to do can be done in Retool....
I just want to make sure I understand. Does this section of our docs not describe what you're looking for?
Hoping to get this solved for you soon!
@jSims How to do as per said by image?
What should be the process?
I just want to make sure I'm following correctly.
Do you want to set a cookie in the user's browser programmatically to then be forwarded to their resource?
@jSims how do you clear these cookies? I can't seem to see anything in the docs.
Say I set a cookie when I log in to my own API and it returns a set cookie header. That works great but I can't seem to find anything in the cookies or see a way to unset this cookie. Any help is appreciated.
I'm on the same page!
Figuring out ways to manage user's browser cookies some what
In the mean while, here it goes a related thread
At the moment, it looks like the only way to clear Retool-related cookies might be to either use the
/logout endpoint or overwrite its value. What's the specific use case you have for clearing the cookie?