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

Make oidc-client ReactNative-friendly #410

Merged
merged 4 commits into from
Jan 22, 2018
Merged

Conversation

amorokh
Copy link
Contributor

@amorokh amorokh commented Sep 3, 2017

These changes makes this lib RN-friendly, meaning that it is possible to require it from a RN app (#306). The app must still create navigators that suits RN of course.

One change is that the buffer lib is not included in the minified file(s).
The other change is to not use 'for (.. of ..)' constructs since that seems to be troublesome for JavaScriptCore (facebook/react-native#4587) .

@brockallen brockallen self-assigned this Sep 23, 2017
@brockallen
Copy link
Member

I don't know if saw my code comment? I asked:

should this be keys.length? there's a for loop that it looks like it's missing.

@amorokh
Copy link
Contributor Author

amorokh commented Sep 30, 2017

No I didn't see any comment, but you're correct, .length was certainly missing.

@carvallegro
Copy link

carvallegro commented Oct 10, 2017

Is there an ETA regarding when this branch will be merged ? I believe this'll fix errors for me as well

@janpieterz
Copy link

@brockallen any idea on a timeline for merging this one into a new release?

@leastprivilege
Copy link

Why would you use that from a React Native app - native apps don't use implicit flow - they follow

https://tools.ietf.org/html/rfc8252

see https://github.com/FormidableLabs/react-native-app-auth

@janpieterz
Copy link

That'd work too, was just going off of this pull request.
Thanks for the pointer!

@brockallen
Copy link
Member

Sorry for the delay. I tested this and looks good to merge. Thanks.

@brockallen brockallen merged commit badf7c0 into IdentityModel:dev Jan 22, 2018
@brockallen brockallen added this to the 1.5.0 milestone Jan 22, 2018
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

5 participants