Skip to content

feat: add refresh_token_duration and access_token_duration to workspace profile settings#175

Merged
ecmadao merged 2 commits intomainfrom
danny/add-token-duration-settings
Mar 24, 2026
Merged

feat: add refresh_token_duration and access_token_duration to workspace profile settings#175
ecmadao merged 2 commits intomainfrom
danny/add-token-duration-settings

Conversation

@d-bytebase
Copy link
Contributor

Summary

  • Add refresh_token_duration_in_seconds and access_token_duration_in_seconds fields to the workspace_profile block in bytebase_setting resource and data source
  • These replace the previously removed token_duration_in_seconds field, mapping to the upstream proto's RefreshTokenDuration and AccessTokenDuration fields
  • Bump version to 3.16.2

Test plan

  • Verify go build ./... passes
  • Apply a bytebase_setting resource with refresh_token_duration_in_seconds and access_token_duration_in_seconds set
  • Read back via data source and confirm values match
  • Verify delete/reset clears the token duration fields

🤖 Generated with Claude Code

d-bytebase and others added 2 commits March 23, 2026 19:20
…ce profile settings and release 3.16.2

The token_duration_in_seconds field was previously removed from bytebase_setting.
Its replacement fields — refresh_token_duration and access_token_duration — are now
exposed in the workspace_profile block of the bytebase_setting resource and data source.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@d-bytebase d-bytebase requested a review from ecmadao March 24, 2026 02:37
@ecmadao ecmadao merged commit b106656 into main Mar 24, 2026
3 checks passed
@ecmadao ecmadao deleted the danny/add-token-duration-settings branch March 24, 2026 02:43
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