Skip to content

Conversation

@abhi1693
Copy link
Member

Fixes: #12870

Note: @stuntguy3000 initially submitted #12911 but it had a different approach. I have moved the validation under the serializer from the view and extended the TokenSerializer onto TokenProvisionSeriazlier which works for both request and response.

@abhi1693 abhi1693 requested a review from jeremystretch August 30, 2023 19:51
@jeremystretch
Copy link
Member

Thanks @abhi1693!

@jeremystretch jeremystretch merged commit c38884f into develop Sep 1, 2023
@jeremystretch jeremystretch deleted the feat/12870-token-provision branch September 1, 2023 16:33
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 2, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support for setting expiration time when using the API token provisioning endpoint (/api/users/tokens/provision/)

3 participants