Skip to content

feat: Add token restrictions support#277

Merged
gtema merged 1 commit intomainfrom
token_restrictions
Oct 8, 2025
Merged

feat: Add token restrictions support#277
gtema merged 1 commit intomainfrom
token_restrictions

Conversation

@gtema
Copy link
Collaborator

@gtema gtema commented Oct 5, 2025

Implement a new token payload that allows preventing token rescoping,
renewing, having fixed roles, etc. Such restrictions are necessary for
the proper OIDC/Jwt support.

@gtema gtema linked an issue Oct 5, 2025 that may be closed by this pull request
@github-actions
Copy link

github-actions bot commented Oct 5, 2025

🐰 Bencher Report

Branchtoken_restrictions
Testbedubuntu-latest
Click to view all benchmark results
BenchmarkLatencyBenchmark Result
microseconds (µs)
(Result Δ%)
Upper Boundary
microseconds (µs)
(Limit %)
fernet token/project📈 view plot
🚷 view threshold
1.09 µs
(-60.39%)Baseline: 2.75 µs
11.01 µs
(9.88%)
🐰 View full continuous benchmarking report in Bencher

@gtema gtema force-pushed the token_restrictions branch 2 times, most recently from 16a18df to 381d3ae Compare October 6, 2025 19:31
Implement a new token payload that allows preventing token rescoping,
renewing, having fixed roles, etc. Such restrictions are necessary for
the proper OIDC/Jwt support.
@gtema gtema force-pushed the token_restrictions branch from 381d3ae to 9259735 Compare October 8, 2025 15:53
@gtema gtema merged commit 3c7f2af into main Oct 8, 2025
10 checks passed
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.

Implement new token payload to prevent escape from bound_xxx

1 participant

Comments