質問編集履歴

2

追記

2018/11/29 13:22

投稿

funahuna
funahuna

スコア16

test CHANGED
File without changes
test CHANGED
@@ -205,3 +205,27 @@
205
205
  omniauth (1.8.1) lib/omniauth/strategy.rb:168:in `call'
206
206
 
207
207
  omniauth (1.8.1) lib/omniauth/strategy.rb:190:in `call!'
208
+
209
+
210
+
211
+
212
+
213
+
214
+
215
+ 回答してもらった記事の通りやってみたのですがまだうまく行きません
216
+
217
+ 追記  twitter developの設定
218
+
219
+ Website URL
220
+
221
+ https://developer.twitter.com/en/apps/15986426
222
+
223
+ Sign in with Twitter
224
+
225
+ Disabled
226
+
227
+ Callback URL
228
+
229
+ http://127.0.0.1:3000/users/auth/twitter/callback
230
+
231
+ http://localhost:3000/auth/twitter/callback

1

誤字 書式の改善

2018/11/29 13:22

投稿

funahuna
funahuna

スコア16

test CHANGED
File without changes
test CHANGED
@@ -171,3 +171,37 @@
171
171
  api key
172
172
 
173
173
  secret keyを設定しました
174
+
175
+
176
+
177
+
178
+
179
+
180
+
181
+ エラー
182
+
183
+ Started GET "/users/auth/twitter" for 127.0.0.1 at 2018-11-29 14:29:50 +0900
184
+
185
+ I, [2018-11-29T14:29:50.785451 #19864] INFO -- omniauth: (twitter) Request phase initiated.
186
+
187
+
188
+
189
+ OAuth::Unauthorized (403 Forbidden):
190
+
191
+
192
+
193
+ oauth (0.5.4) lib/oauth/consumer.rb:236:in `token_request'
194
+
195
+ oauth (0.5.4) lib/oauth/consumer.rb:155:in `get_request_token'
196
+
197
+ omniauth-oauth (1.1.0) lib/omniauth/strategies/oauth.rb:28:in `request_phase'
198
+
199
+ omniauth-twitter (1.4.0) lib/omniauth/strategies/twitter.rb:61:in `request_phase'
200
+
201
+ omniauth (1.8.1) lib/omniauth/strategy.rb:224:in `request_call'
202
+
203
+ omniauth (1.8.1) lib/omniauth/strategy.rb:187:in `call!'
204
+
205
+ omniauth (1.8.1) lib/omniauth/strategy.rb:168:in `call'
206
+
207
+ omniauth (1.8.1) lib/omniauth/strategy.rb:190:in `call!'