Skip to content

[Bug]: process.env.JWT_COOKIE_SAME_SITE does not change cookie properties #115

@Uanela

Description

@Uanela

Bug Description

process.env.JWT_COOKIE_SAME_SITE does not change cookie properties

Expected Behavior

It should change the jwt cookie properties, it only works through arkos config authentication.jwt.cookie options

Steps to Reproduce

  1. set a value to process.env.JWT_COOKIE_SAME_SITE
  2. Run the server through network
  3. login using a browser and notice the cookie property value

Arkos configuration

Possible Workaround


Package

arkos

Arkos.js Version (or Package version)

1.4.0-beta

Node.js Version

18.x

Database

PostgreSQL

Operating System

macOS

Pre-submission Checklist

  • I have searched existing issues to ensure this bug hasn't been reported
  • I have tested this on the latest beta version
  • I can reproduce this bug consistently

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions