identity-toolkit-java
identity-toolkit-java copied to clipboard
Example missing code
Working through the example I discovered that not only is the gitkit-widget.html naming not in sync with walkthrough but that I had to modify the window.google.identitytoolkit.start() call by adding 'JAVASCRIPT_ESCAPED_POST_BODY' after the config parameter or I was unable to load the widget:
window.google.identitytoolkit.start( '#gitkitWidgetDiv', config, 'JAVASCRIPT_ESCAPED_POST_BODY');
'JAVASCRIPT_ESCAPED_POST_BODY' is an optional parameter. What error did you see when you just called window.google.identitytoolkit.start( '#gitkitWidgetDiv', config)?