Follow these steps to add OpenID SSO to a Genero Web application.
Complete this procedure to add OpenID SSO to a
Genero Web application.
- Add <DELEGATE service="services/OpenIDServiceProvider"/> to
the application configuration (xcf) file.
<?xml version="1.0"?>
<APPLICATION Parent="defaultgwc"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://www.4js.com/ns/gas/2.50/cfextwa.xsd">
<EXECUTION>
<PATH>$(res.path.qa)/applications/myapp</PATH>
<MODULE>App.42r</MODULE>
<DELEGATE service="services/OpenIDServiceProvider"/>
</EXECUTION>
</APPLICATION>
- To retrieve your OpenID identifier, add this code to your
Genero application:
LET id = fgl_getenv("OPENID_CLAIMED_ID")
The Genero Application Server will handle the OpenID protocol
and start the Genero web application only when the user has
been authenticated, otherwise an HTML error page is returned.