Skip to content

Conversation

@jameslcarpino
Copy link
Contributor

Description

Add missing session param to authenticate methods.

authenticate_with_password
authenticate_with_magic_auth
authenticate_with_organization_selection
authenticate_with_totp
authenticate_with_email_verification

Documentation

Does this require changes to the WorkOS Docs? E.g. the API Reference or code snippets need updates.

[ ] Yes

If yes, link a related docs PR and add a docs maintainer as a reviewer. Their approval is required.

@jameslcarpino jameslcarpino requested a review from nicknisi May 23, 2025 16:53
@nicknisi nicknisi requested a review from Copilot May 23, 2025 16:55
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a missing session parameter to multiple authentication methods to allow for optional session sealing and cookie password handling.

  • Added a session parameter to five authentication methods.
  • Implemented a session validation check that raises an error if session sealing is requested without providing a cookie password.

@nicknisi nicknisi force-pushed the jc-add-session-to-auth-methods branch from cb5c6d9 to 761a607 Compare May 29, 2025 19:35
@nicknisi nicknisi merged commit 94ecb7d into main May 29, 2025
2 checks passed
@nicknisi nicknisi deleted the jc-add-session-to-auth-methods branch May 29, 2025 19:49
@nicknisi nicknisi mentioned this pull request May 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants