# OpenId Connect プラグインと AWS Cognito による自動サインイン

**URL:** https://meta.discourse.org/t/auto-sign-in-with-the-openid-connect-plugin-and-aws-cognito/145170
**Category:** SSO
**Tags:** openid-connect
**Created:** [2020 年 3 月 22 日午後 10:01 UTC](https://meta.discourse.org/t/auto-sign-in-with-the-openid-connect-plugin-and-aws-cognito/145170 "2020-03-22T22:01:08Z")
**Posts on this page:** 1
**Showing post:** 9

<div class="post-metadata">

### Author: ![JQ331](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@JQ331](https://meta.discourse.org/u/JQ331)
#### Post date: [2020 年 3 月 23 日午後 1:19 UTC](https://meta.discourse.org/t/auto-sign-in-with-the-openid-connect-plugin-and-aws-cognito/145170/9 "2020-03-23T13:19:21Z")

</div>

ふむ、Discourse と Cognito などの別々の認証プロバイダーを連携させる方法には、OpenID プラグインを使う方法と、Discourse の [Single Sign On](https://meta.discourse.org/t/official-single-sign-on-for-discourse-sso/13045) を使う方法の 2 つがあると聞いています。

私は Single Sign On のプロセスについては全く詳しくありませんが、ユーザーが二度ログインする必要をなくすという私の目的を達成できる方法でしょうか？

あるいは、単にユーザーが私のアプリにログインした時点で、Discourse に対して API リクエストを送り、その方法でログインさせるのはどうでしょうか？

（リンクしたドキュメントにはグループメンバーシップの指定についても触れられています。これは、有料ユーザーのみが投稿を許可されたグループに参加できるようにするという私の目的を達成するものだと推測します）

---

_[View the full topic](https://meta.discourse.org/t/auto-sign-in-with-the-openid-connect-plugin-and-aws-cognito/145170)._
