openwallet-foundation / openwallet-foundation/acapy-plugins
[multitenant_provider] Add option for a ttl when request a tenant token
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 10
- Forks
- 47
- Avg merge
- 13h 22m
- Merged PRs (30d)
- 12
Description
Transferring from https://github.com/bcgov/traction/issues/972 now that the multitenant_provider plugin is hosted here.
Quoting @PatStLouis
I would like to see an optional
ttlfield in the request body for the/multitenancy/tenant/{tenant_id}/tokenendpoint.
Some applications might require a token with an expiration date of a desired length set.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the multitenant_provider implementation of the /multitenancy/tenant/{tenant_id}/token endpoint and review how tenant tokens are currently requested and issued. Check for related tests around that endpoint. Done means an optional ttl request field controls the requested token expiration without changing existing requests that omit it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100