4
4

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.

Railsアプリにgoogleユーザー認証機能をつけた

4
Last updated at Posted at 2017-08-26

DeviseとOmniauthでgoogleユーザー認証機能

大まかな流れ

GoogleでClientIDを取得する

GemfileにGemを追加

Gemfile
gem 'devise'
gem 'omniauth'
gem 'omniauth-google-oauth2'

(bundle installをする)

DeviseとOmniauthの設定

詳しくはhttp://qiita.com/ttaka66/items/9ea3052a6f17a0b8f5fc

googleユーザーでログインというボタン

開発中のWebサービスにgoogleユーザー認証を実装

4
4
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
4
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?