One way to display a grid on a custom web page is to embed it within an IFrame. This is a complicated process because the GridGuard™ web page (content of the IFrame) is served by a different server (the GridGuard™ server) than the server used to serve the parent page (the custom web page web server). Cross site scripting restrictions in browsers make communication between the IFrame and the parent frame difficult, especially in older browsers that do not support the concept of messaging.
- ggva.company.com - GridGuard Server
- web.company.com - Web site hosting custom login page
- XXXX - name of the GridGuard Realm
GridGuard Server Changes
Web Server Changes
To validate GridCode™, submit an authenticate GridGuard Rest API with the username, gridID and gridcode fields from the custom page. If the call succeeds (http return code of 200), then the submitted gridcode is accurate, user has been authenticated and the application can now proceed to log the user in as required.