Skip to content

Conversation

@nicknisi
Copy link
Member

Description

#398 Expose authentication object even if expired.

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.

@nicknisi nicknisi merged commit 40e2a61 into main Nov 21, 2025
2 checks passed
@nicknisi nicknisi deleted the nicknisi/v5.29.0 branch November 21, 2025 20:46
@greptile-apps
Copy link

greptile-apps bot commented Nov 21, 2025

Greptile Overview

Greptile Summary

This PR bumps the version from 5.28.0 to 5.29.0, releasing the changes from #398 which allow expired JWT tokens to be decoded with the include_expired parameter. This enables applications to access organization_id and other session data from expired tokens to properly handle session refresh flows, particularly for admin impersonation scenarios where the organization context is needed after token expiration.

Confidence Score: 5/5

  • This PR is safe to merge with minimal risk
  • Version bump PR with only two files changed (version.rb and Gemfile.lock), both containing standard version increments. The underlying feature from expose authentication object even if expired #398 was already merged and tested with comprehensive test coverage including the new include_expired parameter functionality.
  • No files require special attention

Important Files Changed

File Analysis

Filename Score Overview
lib/workos/version.rb 5/5 Version bump from 5.28.0 to 5.29.0 - standard release version increment
Gemfile.lock 5/5 Version bump from 5.28.0 to 5.29.0 in lockfile - matches version.rb change

Sequence Diagram

sequenceDiagram
    participant Dev as Developer
    participant Gem as Gem Build System
    participant User as Library User
    
    Note over Dev: PR #398 merged with<br/>include_expired feature
    
    Dev->>Dev: Update version.rb (5.28.0 → 5.29.0)
    Dev->>Dev: Run bundle install
    Dev->>Gem: Gemfile.lock updated
    
    Note over Dev,Gem: Version 5.29.0 release
    
    Dev->>Gem: Publish gem to RubyGems
    
    User->>Gem: bundle update workos
    User->>User: session.authenticate(include_expired: true)
    
    Note over User: Can now access organization_id<br/>from expired tokens for refresh
Loading

Copy link

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

1 file reviewed, no comments

Edit Code Review Agent Settings | Greptile

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