質問編集履歴

2

一部修正

2019/04/05 08:06

投稿

mory
mory

スコア11

test CHANGED
File without changes
test CHANGED
@@ -22,7 +22,7 @@
22
22
 
23
23
 
24
24
 
25
- > Access to XMLHttpRequest at 'https://accounts.google.com/o/oauth2/auth?access_type=offline&client_id=00000000000-ajshfashashfkahfahflahfjaafja.apps.googleusercontent.com&redirect_uri=http%3A%2F%2F180.160.41.51%2Fmember%2Fmembers%2Fgoogle_oauth2%2Fcallback&response_type=code&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.profile+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fcalendar&state=f5q7877089gsdg6s0g76dsg7d6sgs6gsg9d' (redirected from 'http://180.160.41.51/member/members/google_oauth2?current_member_id=1') from origin 'null' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
25
+ > Access to XMLHttpRequest at 'https://accounts.google.com/o/oauth2/auth?access_type=offline&client_id=00000000000-ajshfashashfkahfahflahfjaafja.apps.googleusercontent.com&redirect_uri=http%3A%2F%2F180.160.41.51%2Fxxxx%2Fxxxx%2Fxxxx2%2Fcallback&response_type=code&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.profile+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fcalendar&state=f5q7877089gsdg6s0g76dsg7d6sgs6gsg9d' (redirected from 'http://180.160.41.51/xxxx/xxxx/google_oauth2?current_member_id=1') from origin 'null' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
26
26
 
27
27
 
28
28
 

1

重複する文言を削除しました

2019/04/05 08:06

投稿

mory
mory

スコア11

test CHANGED
File without changes
test CHANGED
@@ -4,9 +4,9 @@
4
4
 
5
5
 
6
6
 
7
- 0. フロント側(vue.js)からGoogleボタンを押下
7
+ 0. フロント側(vue.js)からGoogleボタンを押下してRailsにリクエスト
8
8
 
9
- 0. Railsのomniauthの機能を利用して、Googleのoauth2のAPIに
9
+ 0. RailsからGoogleのoauth2のAPIに
10
10
 
11
11
  0. Googleのoauth2にて認証処理
12
12