openwallet-foundation / openwallet-foundation/acapy-plugins

[multitenant_provider] Add option for a ttl when request a tenant token

Open
#104 1 comment 1 reaction 0 assignees View on GitHub

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 ttl field in the request body for the /multitenancy/tenant/{tenant_id}/token endpoint.
Some applications might require a token with an expiration date of a desired length set.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.