0
0

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 3 years have passed since last update.

IAPを掛けたGoogle App Engineにプリフライトリクエストが届かないときの対処法

Last updated at Posted at 2020-03-30

IAPを掛けたGAEにプリフライトリクエストを飛ばしたが、GAEにリクエストが届かなかった際の対処法

解決策

  1. OPTIONSリクエストに応答するコードを追記する。

  2. 下記の様にyamlを書く

iap.yaml
accessSettings:
  corsSettings:
    allowHttpOptions: true
  1. 下記のコマンドを叩く
 gcloud beta iap settings set backend-iap.yaml --project=hoge

感想

IAPのカスタマイズについて公式で日本語翻訳もあるものの、
英語でないとコマンドがあることが書いてないので、読むべきは英語ドキュメントだなと思いました

参考文献

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?