Skip to content

feat: add passkey authentication methods, Online Access support, and improved error handling#1342

Merged
amitsingh05667 merged 1 commit into
masterfrom
fern-bot/2026-05-12_05-03-35_134
May 12, 2026
Merged

feat: add passkey authentication methods, Online Access support, and improved error handling#1342
amitsingh05667 merged 1 commit into
masterfrom
fern-bot/2026-05-12_05-03-35_134

Conversation

@fern-api
Copy link
Copy Markdown
Contributor

@fern-api fern-api Bot commented May 12, 2026

Changes

  • Added passkey/WebAuthn authentication method support with new fields: aaguid, credential_device_type, credential_backed_up, identity_user_id, user_agent, user_handle, and transports
  • Added new CredentialDeviceTypeEnum to distinguish between "single_device" and "multi_device" credentials
  • Updated CreateUserAuthenticationMethodRequestContent, CreateUserAuthenticationMethodResponseContent, GetUserAuthenticationMethodResponseContent, and UserAuthenticationMethod interfaces with passkey-specific fields
  • Added allow_online_access_with_ephemeral_sessions field to resource server create/update/get operations for better control over refresh token issuance in ephemeral session scenarios
  • Added audience parameter to RevokeRefreshTokensRequestContent to scope refresh token revocation by resource server identifier
  • Enhanced ChangePasswordTicketRequestContent - result_url parameter now supports use with client_id when custom password reset page is enabled with password-reset-post-challenge Action
  • Clarified WebAuthn method documentation to explicitly reference "passkey" capabilities alongside "webauthn"
  • Added new error schema types: BadRequestSchema, ForbiddenSchema, TooManyRequestsSchema, UnauthorizedSchema with standardized response structures
  • Made id field required in ConnectionResponseCommon (previously optional) for stronger type safety
  • Made name field required in CreateConnectionCommon (previously optional) for stronger type safety

Generated by Fern
CLI Version: unknown
Generators:
  - fernapi/fern-typescript-sdk: 3.66.5
@fern-api fern-api Bot requested a review from a team as a code owner May 12, 2026 05:03
@codecov
Copy link
Copy Markdown

codecov Bot commented May 12, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.53%. Comparing base (a7ff7c0) to head (a917ec5).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff            @@
##           master    #1342    +/-   ##
========================================
  Coverage   89.52%   89.53%            
========================================
  Files         390      390            
  Lines       18701    18714    +13     
  Branches     8846     9193   +347     
========================================
+ Hits        16743    16756    +13     
  Misses       1958     1958            
Flag Coverage Δ
alltests 89.53% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
...i/resources/users/resources/roles/client/Client.ts 89.65% <100.00%> (+0.36%) ⬆️
src/management/api/types/types.ts 100.00% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@amitsingh05667 amitsingh05667 changed the title SDK regeneration feat: add passkey authentication methods, ephemeral session support, and improved error handling May 12, 2026
@amitsingh05667 amitsingh05667 merged commit 7fd9714 into master May 12, 2026
10 checks passed
@amitsingh05667 amitsingh05667 deleted the fern-bot/2026-05-12_05-03-35_134 branch May 12, 2026 10:58
@amitsingh05667 amitsingh05667 mentioned this pull request May 13, 2026
@amitsingh05667 amitsingh05667 changed the title feat: add passkey authentication methods, ephemeral session support, and improved error handling feat: add passkey authentication methods, Online Access support, and improved error handling May 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants