Skip to content

Add auth session refresh endpoints#451

Draft
DhruvPareek wants to merge 1 commit intoauth-email-otp-update-openapifrom
auth-session-refresh-openapi
Draft

Add auth session refresh endpoints#451
DhruvPareek wants to merge 1 commit intoauth-email-otp-update-openapifrom
auth-session-refresh-openapi

Conversation

@DhruvPareek
Copy link
Copy Markdown
Contributor

@DhruvPareek DhruvPareek commented May 8, 2026

Summary

  • Add OpenAPI paths for POST /auth/sessions/{id}/challenge and POST /auth/sessions/{id}/verify
  • Add AuthSessionReauthRequest for the shared clientPublicKey body and reuse SignedRequestChallenge / AuthSession responses
  • Wire the new session challenge/verify methods into Stainless and regenerate bundled specs

Validation

  • npm run lint:openapi

@vercel
Copy link
Copy Markdown

vercel Bot commented May 8, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
grid-flow-builder Ready Ready Preview, Comment May 8, 2026 0:43am

Request Review

Copy link
Copy Markdown
Contributor Author

DhruvPareek commented May 8, 2026

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 8, 2026

✱ Stainless preview builds

This PR will update the grid SDKs with the following commit messages.

kotlin

feat(api): add issueChallenge and verifyChallenge methods to sessions

openapi

feat(api): add session reauthentication endpoints to auth/sessions

python

feat(api): add issue_challenge and verify_challenge methods to auth sessions

typescript

feat(api): add issueChallenge/verifyChallenge to auth sessions

Edit this comment to update them. They will appear in their respective SDK's changelogs.

grid-python studio · code · diff

Your SDK build had at least one "note" diagnostic, but this did not represent a regression.
generate ✅build ✅lint ✅test ✅

pip install https://pkg.stainless.com/s/grid-python/e2b4290eeb0cbb55e1a9917783c1c203788ea189/grid-0.0.1-py3-none-any.whl
grid-kotlin studio · code · diff

Your SDK build had at least one "note" diagnostic, but this did not represent a regression.
generate ✅build ✅lint ✅test ✅

grid-typescript studio · code · diff

Your SDK build had at least one "note" diagnostic, but this did not represent a regression.
generate ✅build ❗lint ❗test ❗

grid-openapi studio · code · diff

Your SDK build had at least one "note" diagnostic, but this did not represent a regression.
generate ✅


This comment is auto-generated by GitHub Actions and is automatically kept up to date as you push.
If you push custom code to the preview branch, re-run this workflow to update the comment.
Last updated: 2026-05-08 00:49:01 UTC

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.

1 participant