tejima / opauthjanrainplugin Goto Github PK
View Code? Open in Web Editor NEWJanrainを使ってGoogle、Facebook、TwitterアカウントなどからSSOするためのプラグイン
Janrainを使ってGoogle、Facebook、TwitterアカウントなどからSSOするためのプラグイン
■■概要 シングルサインオンの統括サービスJanrain http://www.janrain.com/ を利用して、 Facebook Twitter GoogleなどのIDを利用したシングルサインオンを実現するプラグイン ■■インストール プラグインディレクトリに展開し、管理画面、認証プラグインを有効にする ■■設定 ・Janrainサービスに登録する ユーザーネームを登録しAPIキーを取得する ・APIKEYとJanrainのユーザーネームを管理画面=>認証プラグインから設定する ・ここまででGoogleなどへのシングルサインオンは使えるようになる ※Facebook Twitterを利用したい場合 ・それぞれのサイトの開発者登録が必要。そこからAPIキーを取得しJanrain管理画面でAPIキーを設定する ■■制限事項 海外製のID連携ツールであるため、日本のガラパゴスケータイはカバーされていない。 クッキーをサポートしない、フルブラウザ対応でない携帯は非対応とする。 ■■TODO ・READMEを分かりやすく ・die()で終わらせているところをエラー処理する ・Twitterとの接続がうまくいっていない気がするので、要確認。 ■■MEMO 作成のためにここを参考にした https://bitbucket.org/repeatedly/opauthshibbolethplugin/src/f2a263fb10cb/apps/pc_frontend/templates/_partsLogin.php
まいった。
サイトURLはこれです。
OpenPNE/plugins/opAuthJanrainPlugin/config/auth.yml
変更前
enable_mobile:
Default: 1
変更後
enable_mobile:
Default: 0
『1』から『0』に変更するだけです。簡単ですね!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.