LoginSignup
0
0

More than 5 years have passed since last update.

【ご質問】FBログイン(omniauth)のアクセス要求について

Posted at

ご質問させて頂きます。

WEBサイトを運営しておりまして、FBログイン機能(omniauth)を利用しています。
利用ユーザのメールアドレスを、必須で取得したいのですが何か方法はございますでしょうか?
※ユーザによっては、アクセス許可「メールアドレス」をOFFにされる方がいるため。
その場合、ログインさせず、再度アクセス許可(メールアドレス)を求めるようにしたいと考えております。

=現在のパラメータ
config/initializers/omniauth.rb
scope: 'public_profile,email'

●環境

Ruby 1.9
Ruby on Rails 3.2
omniauth (1.2.1)
omniauth-facebook (1.5.1)

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