SSO single-sign-on Ext for mediawiki
- Backup of the current database
- Backup of the MediaWiki files
install and test the SSO adapter¶
- How it works: one logs in into the typo3.org login-page and this page sends one to wiki.typo3.org and calls the SSO-connector. The connector gets the needed user-data and creates the account if it didn't exist before and logs the account in or only logs the account in
- create a wiki-login page
add a screenshot and link to typo3.org¶
To this page (visible when you are logged in):
Preparation before new user accounts are imported¶
- change all usernames to "Old*"
user-page and talk page: REDIRECTS?¶
content: Merge old user accounts with the according new one (changes the user-id)¶
#5 Updated by Daniel Brüßler about 9 years ago
- Due date deleted (
- Status changed from Accepted to Needs Feedback
- Assignee changed from Daniel Brüßler to Michael Stucki
- Target version changed from sprint 2010/03 to sprint 2010/12
- Start date deleted (
- % Done changed from 70 to 50
Hello Michael, I still Need real example-code for HowTo implement this. ;-)
#10 Updated by Chris topher about 8 years ago
Some updates regarding the current development:In the last week this already was done:
- naw.info installed SSO on the dev server.
- I wrote a script, which
- renames all existing user accounts to "Old<username>"
- moves all user pages and user talk pages to the according "new" username Old<username>
- updates all occurences of the old user names in logs and on pages
- Afterwards the SSO adapter can just add the users, which logged in with SSO, as new user accounts to the database. (We will not change user IDs or such.)
- I installed a wiki extension, with which we can merge user accounts. That way we can merge Old<username> with the according new account. All posts, the list of watched pages and so on will be merged to the new user account, which was created by the adapter. This has to be done by hand. Before you can merge an account, the user must once have been logged in at the wiki (= his new account must already have been created).
- I exchanged the login link in the wiki. Instead of the link which was there, we will provide a link to the SSO page on typo3.org.
- I disabled user registration on the wiki.
- With the original implementation with every SSO login, a user got the user group "bots" associated to his account. This must be prevented. I have fixed this.
- SSO is working on the dev server.
#11 Updated by Chris topher about 8 years ago
- Status changed from Accepted to Resolved
- Assignee set to Chris topher
- % Done changed from 70 to 100
The Production Wiki has now been switched to SSO.
- Note: Since we have renamed the old user accounts, login is no longer possible with these accounts.
- The typo3.org 'You have just logged in' page now contains a link to the wiki, which actually logs you in immediately.
- Redirection back to the wiki page from which you came is not yet working. See #32572.