I’m trying to do nothing more than load a Web page with the script tag for the okta sigin in widget:
<script src="https://global.oktacdn.com/okta-signin-widget/5.1.5/js/okta-sign-in.min.js" type="text/javascript"></script>
I have the script tag in the head section of my web page.
In the Chrome console I get a JavaScript error indicating “Uncaught SyntaxError: Invalid regular expression.” This error is followed by half a page of control characters. Then at the bottom the error indcates: Range out of order in character class in new RegExp(anonymous) at jsonpath.js:206.
I’ve tried this in Chrome, Firefox, Edge and even Internet Explorer and I get the same error in every browser. I tried re-typing the script tag manually in case I accidentally included some control characters when copying and pasting from the sign in widget guide. Same error.
I can copy the link out of the script tag, paste it in a new browser window, and it downloads the js file without error.
Hopefully someone has an idea about this. I can’t even get started.