Last modified: 2014-10-30 20:05:45 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T28538, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 26538 - API Login session time limit
API Login session time limit
Status: NEW
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-01-02 00:57 UTC by Smallman
Modified: 2014-10-30 20:05 UTC (History)
10 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Smallman 2011-01-02 00:57:52 UTC
For the API Login, it would be nice if there was a modifiable session time limit.

For example, a parameter lgsessionlimit=300

would mean that the sessionid would be valid for only 700 minutes (seconds would be silly). 

This would be primarily a security enhancement and make session hijacking more difficult if a bot op forgot (or couldn't) logout.
Comment 1 Sam Reed (reedy) 2011-06-05 21:52:42 UTC
Unless I'm missing something, there doesn't seem to be core functionality for this yet...
Comment 2 Umherirrender 2014-10-30 20:00:09 UTC
(In reply to Sam Reed (reedy) from comment #1)
> Unless I'm missing something, there doesn't seem to be core functionality
> for this yet...

time limited token support was added with Gerrit change #156336
Maybe with that feature it is possible to time limit the login token (or allow time limits for other tokens with a time param for meta=tokens)
Comment 3 Brad Jorsch 2014-10-30 20:05:45 UTC
(In reply to Umherirrender from comment #2)
> time limited token support was added with Gerrit change #156336
> Maybe with that feature it is possible to time limit the login token (or
> allow time limits for other tokens with a time param for meta=tokens)

The time limit for the time-limited tokens is determined by whatever uses the token, not by what issues it.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links