To use the Extension, get it from the EXTENSION REPOSITORY into your extension manager and install it.
You have to import the extension to your extension manager by clicking “Import extensions” .
Figure 6: Import extension
Now you can install the extension. Just click the “plus” button, as it is described in your extension manager.
Figure 7: Install extension
You need to configure some TypoScript and you can modify a html template. An example template is stored in the res folder of this extension.
This Extension comes with some Static TypoScript:
plugin.tx_nawopenid_pi1.template = EXT:naw_openid/res/template_en.html
plugin.tx_nawopenid_pi1 {openid_required = email,fullname
openid_optional = nickname,postcode
# dob,country,language,timezone,gender
openid_validate.username = [^a-z0-9\-_.@]
openid_validate.email = [^a-zA-Z0-9\-_.@]
openid_validate.fullname = [^a-zA-Z0-9\ \-_.@äöüÄÖÜ]
updateFieldsFromOpenID = 1
forceUpdateFieldsFromOpenID = 0
allowRegisterNewUser = 1
defaultUsergroupNewUser = 3
fe_user_pid = 49,59
fe_user_pid_create = 59
responsePageUIDfromOpenIDServer = 207
redirectInsteadOfSessionGenerated = 1
newkey = insert a new OpenID key
}
Property: | Data type: | Description: | Default: |
|---|---|---|---|
template | string | File name of the HTML template | EXT:naw_openid/res/template.html |
openid_required | string | A colon separated string with fields from the sreg definition of the openid server that are required | email,fullname |
openid_optional | string | A colon separated string with fields from the sreg definition of the openid server that are optional | nickname,gender,postcode |
updateFieldsFromOpenID | boolean | If this is set TYPO3 will try to Update the userdata, if some data from the server is submitted | 1 |
forceUpdateFieldsFromOpenID | boolean | If this Option is set TYPO3 will update (overwrite) the userdata with that data that comes from the OpenID server | 0 |
allowRegisterNewUser | boolean | If set, an authorized user from the OpenID server can generate a new fe_user in the TYPO3. | 1 |
defaultUsergroupNewUser | int | The id of the usergroup that the new user should become by default | |
fe_user_pid | string | Colon separated list of the sysfolders where fe_users are stored that should combine the TYPO3 login with an OpenID login | |
fe_user_pid_create | Int | The sysfolder where new users from the OpenID Plugin are generated | |
responsePageUIDfromOpenIDServer | string | 'self' if the response URL is the same than the login form for openid. You can define an PageID here where the openid Plugin should work with the given data from the OpenID Server (useful if you have the normal loginbox and the OpenID loginbox on one Page and you will only have one on the page if you logged in at the OpenID Server) | 'self' |
RedirectInstedOfSesionGenerated | string | Redirects to other pages
| 0 |
openid_validate.username | string | A regular expression what are to check here | [^a-z0-9\-_.@] |
openid_validate.email | string | A regular expression what are to check here | [^a-zA-Z0-9\-_.@] |
openid_validate.fullname | string | A regular expression what are to check here | [^a-zA-Z0-9\ \-_.@äöüÄÖÜ] |