identity-toolkit-java icon indicating copy to clipboard operation
identity-toolkit-java copied to clipboard

Example missing code

Open chrisbjohannsen opened this issue 10 years ago • 1 comments

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');

chrisbjohannsen avatar Oct 27 '15 17:10 chrisbjohannsen

'JAVASCRIPT_ESCAPED_POST_BODY' is an optional parameter. What error did you see when you just called window.google.identitytoolkit.start( '#gitkitWidgetDiv', config)?

jin-liu avatar Nov 02 '15 23:11 jin-liu