Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
esune opened this issue Feb 12, 2024 · 1 comment
Open

Comments

@esune
Copy link

esune commented Feb 12, 2024

Transferring from bcgov/traction#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.

@PatStLouis
Copy link

PatStLouis commented Feb 12, 2024

I was thinking an optional value which would overwrite the default value when calculating the exp if defined.

It should be picked up when verifying the token expiration.

I will have a look at a PR.

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

No branches or pull requests

2 participants