Provide ability to set token expiration in PortalContentPost.py
- Dominant language
- Python
- Stars
- 33
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Description
May or may not this for TEM release. Kerry encountered an issue with generating token . At first thought it was an issue with the publishing taking so long that the token expired, but this looks like it was a problem with an invalid password causing the token generation to fail. Still might be a good idea to provide a way to set the token expiration.
Another option would be to just modify the default expiration value in the init function in the PortalPy module; currently set to 60 minutes.
Contributor guide
Research direction
Start by reading PortalContentPost.py and the PortalPy module's init function, where the current 60-minute default expiration is mentioned. Determine whether the intended change is a configurable expiration for token generation or only a new default; done means the chosen behavior is implemented and token creation still works with the selected expiration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- authentication
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100