From c5d21d199b837860906a7db4fa06c3560d2f5703 Mon Sep 17 00:00:00 2001 From: Nikolay992 <38588539+Nikolay992@users.noreply.github.com> Date: Mon, 21 Oct 2019 15:20:11 +0200 Subject: [PATCH 1/2] added remoteAuthS3 and apiKey props for SSO added remoteAuthS3 and apiKey props for SSO integration You should add those configs to the config (object) property. --- src/DiscussionEmbed.jsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/DiscussionEmbed.jsx b/src/DiscussionEmbed.jsx index 56fe942..d74fe56 100644 --- a/src/DiscussionEmbed.jsx +++ b/src/DiscussionEmbed.jsx @@ -64,6 +64,8 @@ export class DiscussionEmbed extends React.Component { this.page.identifier = config.identifier; this.page.url = config.url; this.page.title = config.title; + this.page.remote_auth_s3 = config.remoteAuthS3; + this.page.api_key = config.apiKey; this.callbacks.onNewComment = [ config.onNewComment, ]; From 256d2f202c37ebd0cfaac238d9e430f34ca78cac Mon Sep 17 00:00:00 2001 From: Mikhael Date: Mon, 21 Oct 2019 15:57:42 +0200 Subject: [PATCH 2/2] Added sole24ore dependency --- .npmrc | 1 + package.json | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 .npmrc diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..2cc8584 --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +@sole24ore:registry=http://10.98.221.201:8083/repository/sole24npm/ \ No newline at end of file diff --git a/package.json b/package.json index 40d1226..c1a3e72 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,10 @@ { - "name": "disqus-react", + "name": "@sole24ore/disqus-react", "version": "1.0.7", "description": "Official React components to embed Disqus discussions and comments.", "repository": { "type": "git", - "url": "https://github.com/disqus/disqus-react.git" + "url": "https://github.com/Nikolay992/disqus-react.git" }, "main": "lib/index.js", "types": "types/index.d.ts",