Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed dependency on global window object. #187

Merged
merged 2 commits into from
Feb 5, 2019

Conversation

dale-cooper
Copy link
Contributor

Hey,

as of the documentation I should be able to use okta-auth-js from nodejs (at least in part). In practice this leads to an exception very fast because 'window' is not defined in node.

Best

Christian

@manueltanzi-okta
Copy link
Contributor

@dale-cooper Thank you for catching this! This code is being hit when you have the ajaxRequest parameter in your config, so as a quick workaround you can use the new httpRequestClient parameter instead. Will get your code reviewed and merged, thank you for contributing!

Copy link
Contributor

@manueltanzi-okta manueltanzi-okta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@manueltanzi-okta manueltanzi-okta merged commit 531d9c8 into okta:master Feb 5, 2019
@manueltanzi-okta
Copy link
Contributor

@dale-cooper Your fix was merged, we will release a new version of the library soon! Thank you for contributing!

@manueltanzi-okta
Copy link
Contributor

@peter-mouland
Copy link

amazing - thanks for this fix guys 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants