9
12

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Spring SecurityとFacebookのOpenID Connectを連携させる

9
Posted at

はじめに

Spring-bootやSpring-MVCを使ったウェブサービスを運用していて、認証にSpring-Securityを使っている場合を想定する。最近では認証にTwitterやFacebook、GoogleのOpenID Connectを使うものも増えてきた。というわけで、Spring-SecurityとOpenID Connectを連携させてみた。かなりニッチな領域のようで、Web上にほとんど情報がなかった。

実際にやったこと

ひとことで言えば、Spring-Socialという便利なライブラリがあって、それを使えば主要SNSのOpenID Connectは容易にSpring-Securityと連携できる。と言っても、多少の工夫は必要だった。

関連リンク

9
12
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
9
12

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?