Skip to content

How to dynamically set the cookie secrets value #5

@magbicaleman

Description

@magbicaleman

In the https://github.com/jose-donato/race-stack/blob/main/app/lib/cookie.server.ts the secret value has the following comment

secrets: ["replace_me"], // replace this with an actual secret

Given that this is meant for cloudflare stack how do you get the environment variable secret into this cookie? I might be missing something. Since the environment variables come from action context.

Thanks for putting this together.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions