Skip to content
This repository has been archived by the owner on Mar 3, 2022. It is now read-only.

Set XMLHttpRequest manually #245

Closed
wants to merge 3 commits into from
Closed

Conversation

maxmantz
Copy link
Contributor

Hi,

this PR extends Global in such a way that XMLHttpRequest can be passed into it if it is not available (during server-side rendering for example). Libraries like this could then be used.

Usage:

import { Global } from 'oidc-client';

Global.setRequest(myNewXMLHttpRequestObject);

@maxmantz
Copy link
Contributor Author

#243

@brockallen brockallen added this to the 1.3.0 milestone Mar 7, 2017
brockallen added a commit that referenced this pull request Mar 30, 2017
@brockallen
Copy link
Member

I manually merged this since it took me forever to get to it and all the merge conflicts. Thanks.

@brockallen brockallen closed this Mar 30, 2017
@maxmantz
Copy link
Contributor Author

Sorry for that - and thanks again :-)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

Successfully merging this pull request may close these issues.

None yet

2 participants