Page History
...
Modify the file i2b2_config_data.js that is located in the directory /var/www/html/webclient/ to enable option for user self-registration. Set the value of the attribute showRegistration to true and set the value of the attribute registrationMethod empty. More detailed instructions are here.
Info |
---|
User registration currently requires the webserver and Wildfly to be running on the same server, so make sure that urlCellPM is 127.0.0.1:9090! (Your port could be different.) |
For an example:
{
"domain": "i2b2demo",
"name": "HarvardDemo",
"allowAnalysis": true,
"urlCellPM": "http://127.0.0.1:9090/i2b2/services/PMService/",
"registrationMethod": "local",
"loginType": "local",
"showRegistration": true,
"debug": true
}
Refresh the webpage and you should see the option to register user (circled in red):
...
(Here 127.0.0.1 is necessary because the AJP proxy for the PM cell will always run on the same webserver as the client.)
For an example:
{
"domain": "i2b2demo",
"name": "HarvardDemo",
"allowAnalysis": true,
"urlCellPM": "http://127.0.0.1:9090/i2b2/services/PMService/",
"registrationMethod": "saml",
"loginType": "federated",
"showRegistration": true,
"debug": true
}
Refresh the webpage and you should see the option to register user (circled in red):
...