PricingBlog

Set refresh-token cookie

  • mxi012-1277570793160835073

    𝓜𝓪𝔁𝓲

    1 year ago

    Hi there, im using "/.toddle?access_token=" to set the access token, but i need also to set an refresh-token.
    My idea was to set it also as http cookie and perform session updates / token generations server side via a custom api, and push them directly to the http cookies.

    How would you do it in toddle?