New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-disqus-comments-sso

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-disqus-comments-sso

React Disqus thread component with Single Sign-On

  • 0.7.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
7
Maintainers
1
Weekly downloads
 
Created
Source

react-disqus-comments-sso

This is a fork

Forked from the popular package by mzabriskie, but with a few fixes. Added Single Sign-On support.

Also adds the optional targetWindow property to allow disqus to embed in windows other than the default.

Installing

$ npm install react-disqus-comments-sso

Example

var React = require('react');
var ReactDisqusComments = require('react-disqus-comments-sso');

var App = createClass({

	handleNewComment: function(comment) {
		console.log(comment.text);
	}

	render: function () {
		return (
			<ReactDisqusComments
				shortname="example"
				identifier="something-unique-12345"
				title="Example Thread"
				url="http://www.example.com/example-thread"
				category_id="123456"
				onNewComment={this.handleNewComment}
				api_key="PUBLIC KEY"
				remote_auth_s3="ACCESS_TOKEN"
				targetWindow={window} // Optional
				/>
		);
	}
});

React.render(<App/>, document.getElementById('container'));

License

MIT

Keywords

FAQs

Package last updated on 14 Jun 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc