{"id":223,"date":"2024-12-02T22:21:38","date_gmt":"2024-12-02T22:21:38","guid":{"rendered":"https:\/\/deskgadgetreviews.com\/?p=223"},"modified":"2024-12-02T22:22:15","modified_gmt":"2024-12-02T22:22:15","slug":"reactaws-amplify-etc-01","status":"publish","type":"post","link":"https:\/\/deskgadgetreviews.com\/index.php\/2024\/12\/02\/reactaws-amplify-etc-01\/","title":{"rendered":"\u3010React\u3011AWS Amplify\u306e\u3042\u308c\u3053\u308c\u3010\u5099\u5fd8\u9332\u3011"},"content":{"rendered":"\n<p>React\u3067Amplify\u3092\u4f7f\u3046\u306e\u3067\u3059\u304c\u3001\u82e6\u52b4\u3057\u3066\u8a2d\u5b9a\u3057\u3066\u3082\u3001\u82f1\u8a9e\u306a\u306e\u3067\u5fd8\u308c\u308b\uff01<br>\u306f\u3044\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u3053\u3061\u3089\u306b\u307e\u3068\u3081\u307e\u3059\u3002\u305f\u3060\u305d\u308c\u3060\u3051<br>\uff08\u65e5\u672c\u8a9e\u8a33\u3068\u306a\u3093\u3068\u306a\u304f\u306e\u89e3\u8aac\u306a\u3069\u306a\u3069\uff09<\/p>\n\n\n\n<p>\u958b\u767a\u74b0\u5883\u306f\u5fd8\u308c\u305f\u30cc\u30fc\u30f3\uff08\u5099\u5fd8\u9332\u306a\u306e\u3067\u3001\u9069\u5f53\u306bReact\u5165\u308c\u3066\u3001\u8a66\u3057\u3066\u306d\uff09<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u521d\u671f\u8a2d\u5b9a\n<ul class=\"wp-block-list\">\n<li>npm install -g @aws-amplify\/cli<\/li>\n\n\n\n<li>amplify init<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><a href=\"#updateauth\" title=\"amplify update auth\">amplify update auth<\/a><\/li>\n\n\n\n<li>amplify push<\/li>\n<\/ul>\n\n\n\n<p>\u3061\u306a\u307f\u306b\u3001\u521d\u671f\u8a2d\u5b9a\u306f\u65e2\u306b\u7d42\u308f\u3063\u3066\u308b\uff08\u524d\u306b\u3084\u3063\u305f\u3051\u3069\u5185\u5bb9\u5fd8\u308c\u305f\uff09\u3082\u306e\u3092\u4f7f\u3046\u306e\u3067\u3001\u521d\u671f\u8a2d\u5b9a\u5206\u306f\u30b3\u30de\u30f3\u30c9\u306e\u307f\u3067\u3059<\/p>\n\n\n\n<div style=\"height:73px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"updateauth\">amplify update auth<\/h3>\n\n\n\n<p>\u8a2d\u5b9a\u306e\u5909\u66f4\u3092\u884c\u3046\u305f\u3081\u306e\u30b3\u30de\u30f3\u30c9<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Please note that certain attributes may not be overwritten if you choose to use defaults settings.\n\nYou have configured resources that might depend on this Cognito resource.  Updating this Cognito resource could have unintended side effects.<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>\u30c7\u30d5\u30a9\u30eb\u30c8\u8a2d\u5b9a\u3092\u4f7f\u7528\u3059\u308b\u5834\u5408\u3001\u7279\u5b9a\u306e\u5c5e\u6027\u306f\u4e0a\u66f8\u304d\u3055\u308c\u306a\u3044\u5834\u5408\u304c\u3042\u308b\u3053\u3068\u306b\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/code><\/pre>\n\n\n\n<p>\u3053\u306e Cognito \u30ea\u30bd\u30fc\u30b9\u306b\u4f9d\u5b58\u3059\u308b\u53ef\u80fd\u6027\u306e\u3042\u308b\u30ea\u30bd\u30fc\u30b9\u3092\u8a2d\u5b9a\u3057\u307e\u3057\u305f\u3002\u3053\u306e Cognito \u30ea\u30bd\u30fc\u30b9\u3092\u66f4\u65b0\u3059\u308b\u3068\u3001\u4e88\u671f\u3057\u306a\u3044\u526f\u4f5c\u7528\u304c\u767a\u751f\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">\u306f\u3058\u3081\u306e\u9078\u629e\u80a2<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>Using service: Cognito, provided by: awscloudformation\n What do you want to do? (Use arrow keys)\n\u276f Apply default configuration without Social Provider (Federation)\n  Apply default configuration with Social Provider (Federation)\n  Walkthrough all the auth configurations\n  Add\/Edit signin and signout redirect URIs\n  Update OAuth social providers\n  Create or update Cognito user pool groups\n  Create or update Admin queries API<\/code><\/pre>\n\n\n\n<p>\u4f7f\u7528\u30b5\u30fc\u30d3\u30b9: Cognito\u3001\u63d0\u4f9b\u5143: awscloudformation<br>\u4f55\u3092\u3057\u307e\u3059\u304b? (\u77e2\u5370\u30ad\u30fc\u3092\u4f7f\u7528)<br>\u276f \u30bd\u30fc\u30b7\u30e3\u30eb \u30d7\u30ed\u30d0\u30a4\u30c0\u30fc (\u30d5\u30a7\u30c7\u30ec\u30fc\u30b7\u30e7\u30f3) \u306a\u3057\u3067\u30c7\u30d5\u30a9\u30eb\u30c8\u8a2d\u5b9a\u3092\u9069\u7528<br>   \u30bd\u30fc\u30b7\u30e3\u30eb \u30d7\u30ed\u30d0\u30a4\u30c0\u30fc (\u30d5\u30a7\u30c7\u30ec\u30fc\u30b7\u30e7\u30f3) \u3042\u308a\u3067\u30c7\u30d5\u30a9\u30eb\u30c8\u8a2d\u5b9a\u3092\u9069\u7528<br>   \u3059\u3079\u3066\u306e\u8a8d\u8a3c\u8a2d\u5b9a\u306e\u30a6\u30a9\u30fc\u30af\u30b9\u30eb\u30fc<br>   \u30b5\u30a4\u30f3\u30a4\u30f3\u304a\u3088\u3073\u30b5\u30a4\u30f3\u30a2\u30a6\u30c8 \u30ea\u30c0\u30a4\u30ec\u30af\u30c8 URI \u306e\u8ffd\u52a0\/\u7de8\u96c6<br>   OAuth \u30bd\u30fc\u30b7\u30e3\u30eb \u30d7\u30ed\u30d0\u30a4\u30c0\u30fc\u306e\u66f4\u65b0<br>   Cognito \u30e6\u30fc\u30b6\u30fc \u30d7\u30fc\u30eb \u30b0\u30eb\u30fc\u30d7\u306e\u4f5c\u6210\u307e\u305f\u306f\u66f4\u65b0<br>   \u7ba1\u7406\u30af\u30a8\u30ea API \u306e\u4f5c\u6210\u307e\u305f\u306f\u66f4\u65b0<\/p>\n\n\n\n<p>\u4e00\u901a\u308a\u306e\u8a2d\u5b9a\u306f\u7d42\u308f\u3063\u3066\u3044\u308b\u306e\u3067\u3001<br>Walkthrough all the auth configurations<br>\u3092\u9078\u629e<\/p>\n\n\n\n<div style=\"height:73px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h4 class=\"wp-block-heading\">Walkthrough all the auth configrations<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code> Select the authentication\/authorization services that you want to use: (Use arr\now keys)\n\u276f User Sign-Up, Sign-In, connected with AWS IAM controls (Enables per-user Stora\nge features for images or other content, Analytics, and more)\n  User Sign-Up &amp; Sign-In only (Best used with a cloud API only)\n  I want to learn more.<\/code><\/pre>\n\n\n\n<p>\u4f7f\u7528\u3059\u308b\u8a8d\u8a3c\/\u627f\u8a8d\u30b5\u30fc\u30d3\u30b9\u3092\u9078\u629e\u3057\u307e\u3059: (\u77e2\u5370\u30ad\u30fc\u3092\u4f7f\u7528)<br>\u276f \u30e6\u30fc\u30b6\u30fc \u30b5\u30a4\u30f3\u30a2\u30c3\u30d7\u3001\u30b5\u30a4\u30f3\u30a4\u30f3\u3001AWS IAM \u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u306b\u63a5\u7d9a (\u753b\u50cf\u3084\u305d\u306e\u4ed6\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u3001\u5206\u6790\u306a\u3069\u306e\u30e6\u30fc\u30b6\u30fc\u3054\u3068\u306e\u30b9\u30c8\u30ec\u30fc\u30b8\u6a5f\u80fd\u3092\u6709\u52b9\u306b\u3057\u307e\u3059)<br>  \u30e6\u30fc\u30b6\u30fc \u30b5\u30a4\u30f3\u30a2\u30c3\u30d7\u3068\u30b5\u30a4\u30f3\u30a4\u30f3\u306e\u307f (\u30af\u30e9\u30a6\u30c9 API \u306e\u307f\u3067\u4f7f\u7528\u3059\u308b\u306e\u304c\u6700\u9069\u3067\u3059)<br>   \u8a73\u7d30\u3092\u77e5\u308a\u305f\u3044<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>User Sign-Up, Sign-In, connected with AWS IAM controls (Enables per-user Storage features for images or other content, Analytics, and more)\n<ul class=\"wp-block-list\">\n<li>\uff08\u30e6\u30fc\u30b6\u30fc\u306e\u30b5\u30a4\u30f3\u30a2\u30c3\u30d7\u30fb\u30b5\u30a4\u30f3\u30a4\u30f3\u3001AWS IAM\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u3068\u9023\u643a\uff08\u753b\u50cf\u3084\u305d\u306e\u4ed6\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u306e\u30e6\u30fc\u30b6\u30fc\u5225\u30b9\u30c8\u30ec\u30fc\u30b8\u6a5f\u80fd\u3001\u30a2\u30ca\u30ea\u30c6\u30a3\u30af\u30b9\u306a\u3069\u3092\u6709\u52b9\u306b\u3059\u308b\uff09\uff09<\/li>\n\n\n\n<li>\u6982\u8981\uff1a \u3053\u306e\u9078\u629e\u80a2\u306f\u3001\u30e6\u30fc\u30b6\u30fc\u3054\u3068\u306b\u30a2\u30af\u30bb\u30b9\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u3092\u884c\u3046\u305f\u3081\u306b\u3001Cognito\u3068IAM\u306e\u7d71\u5408\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u5404\u30e6\u30fc\u30b6\u30fc\u306b\u5bfe\u3057\u3066\u72ec\u81ea\u306e\u30b9\u30c8\u30ec\u30fc\u30b8\u3084\u30a2\u30ca\u30ea\u30c6\u30a3\u30af\u30b9\u6a5f\u80fd\u304c\u63d0\u4f9b\u3055\u308c\u307e\u3059\u3002<\/li>\n\n\n\n<li>\u304a\u3059\u3059\u3081\uff1a \u30e6\u30fc\u30b6\u30fc\u3054\u3068\u306bS3\u306e\u30b9\u30c8\u30ec\u30fc\u30b8\u3084\u30ea\u30bd\u30fc\u30b9\u3078\u306e\u30a2\u30af\u30bb\u30b9\u3092\u5236\u5fa1\u3057\u305f\u3044\u5834\u5408\u3001\u307e\u305f\u306f\u30a2\u30ca\u30ea\u30c6\u30a3\u30af\u30b9\u30c7\u30fc\u30bf\u3092\u6d3b\u7528\u3057\u305f\u3044\u5834\u5408\u306f\u3001\u3053\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>User Sign-Up &amp; Sign-In only (Best used with a cloud API only)\n<ul class=\"wp-block-list\">\n<li>\uff08\u30e6\u30fc\u30b6\u30fc\u306e\u30b5\u30a4\u30f3\u30a2\u30c3\u30d7\u30fb\u30b5\u30a4\u30f3\u30a4\u30f3\u306e\u307f\uff08\u30af\u30e9\u30a6\u30c9API\u3068\u3060\u3051\u9023\u643a\u3059\u308b\u5834\u5408\u306b\u6700\u9069\uff09\uff09<\/li>\n\n\n\n<li>\u6982\u8981\uff1a \u30e6\u30fc\u30b6\u30fc\u306e\u30b5\u30a4\u30f3\u30a2\u30c3\u30d7\u3068\u30b5\u30a4\u30f3\u30a4\u30f3\u306e\u307f\u3092\u4f7f\u7528\u3059\u308b\u57fa\u672c\u7684\u306a\u8a8d\u8a3c\u3067\u3059\u3002\u30e6\u30fc\u30b6\u30fc\u306b\u5bfe\u3059\u308b\u7279\u5225\u306a\u30a2\u30af\u30bb\u30b9\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u3084IAM\u7d71\u5408\u306f\u542b\u307e\u308c\u3066\u3044\u307e\u305b\u3093\u3002<\/li>\n\n\n\n<li>\u304a\u3059\u3059\u3081\uff1a \u30b7\u30f3\u30d7\u30eb\u306b\u30e6\u30fc\u30b6\u30fc\u8a8d\u8a3c\u3060\u3051\u3092\u884c\u3044\u305f\u3044\u3001\u307e\u305f\u306f\u30d0\u30c3\u30af\u30a8\u30f3\u30c9API\u306e\u30a2\u30af\u30bb\u30b9\u306b\u95a2\u3057\u3066\u306f\u72ec\u81ea\u306b\u5236\u5fa1\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u3053\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u9069\u3057\u3066\u3044\u307e\u3059\u3002IAM\u7d71\u5408\u306e\u5fc5\u8981\u304c\u306a\u3044\u306e\u3067\u3001\u8a2d\u5b9a\u304c\u7c21\u5358\u3067\u7ba1\u7406\u304c\u5bb9\u6613\u3067\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>I want to learn more.\n<ul class=\"wp-block-list\">\n<li>\uff08\u8a73\u7d30\u3092\u78ba\u8a8d\u3057\u305f\u3044\uff09<\/li>\n\n\n\n<li>\u6982\u8981\uff1a \u8a73\u7d30\u306a\u8aac\u660e\u3092\u78ba\u8a8d\u3059\u308b\u305f\u3081\u306e\u9078\u629e\u80a2\u3067\u3059\u3002\u8a2d\u5b9a\u306e\u76ee\u7684\u3084\u6a5f\u80fd\u306b\u3064\u3044\u3066\u3055\u3089\u306b\u77e5\u308a\u305f\u3044\u5834\u5408\u306b\u4f7f\u7528\u3057\u307e\u3059\u3002<\/li>\n\n\n\n<li><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<div style=\"height:73px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h4 class=\"wp-block-heading\">User Sign-Up &amp; Sign-In only<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>Do you want to add User Pool Groups? (Use arrow keys)\nYes\n\u276f No\nI want to learn more.<\/code><\/pre>\n\n\n\n<p>\u30e6\u30fc\u30b6\u30fc \u30d7\u30fc\u30eb \u30b0\u30eb\u30fc\u30d7\u3092\u8ffd\u52a0\u3057\u307e\u3059\u304b? (\u77e2\u5370\u30ad\u30fc\u3092\u4f7f\u7528)<br>\u306f\u3044<br>\u276f \u3044\u3044\u3048<br>\u8a73\u7d30\u3092\u77e5\u308a\u305f\u3044\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Do you want to add an admin queries API? (Use arrow keys)<br>Yes<br>\u276f No<br>I want to learn more.<\/code><\/pre>\n\n\n\n<p>\u7ba1\u7406\u8005\u30af\u30a8\u30ea API \u3092\u8ffd\u52a0\u3057\u307e\u3059\u304b? (\u77e2\u5370\u30ad\u30fc\u3092\u4f7f\u7528)<br>\u306f\u3044<br>\u276f \u3044\u3044\u3048<br>\u8a73\u7d30\u3092\u77e5\u308a\u305f\u3044\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code> Email based user registration\/forgot password: (Use arrow keys)\n\u276f Enabled (Requires per-user email entry at registration)\n  Disabled (Uses SMS\/TOTP as an alternative)<\/code><\/pre>\n\n\n\n<p>\u30e1\u30fc\u30eb\u30d9\u30fc\u30b9\u306e\u30e6\u30fc\u30b6\u30fc\u767b\u9332\/\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5fd8\u308c\u305f\u5834\u5408: (\u77e2\u5370\u30ad\u30fc\u3092\u4f7f\u7528)<br>\u276f \u6709\u52b9 (\u767b\u9332\u6642\u306b\u30e6\u30fc\u30b6\u30fc\u3054\u3068\u306b\u30e1\u30fc\u30eb\u306e\u5165\u529b\u304c\u5fc5\u8981)<br>\u7121\u52b9 (\u4ee3\u308f\u308a\u306b SMS\/TOTP \u3092\u4f7f\u7528)<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code> Email based user registration\/forgot password: Enabled (Requires per-user email\n entry at registration)\n Specify an email verification subject: Your verification code\n Specify an email verification message: Your verification code is {####}\n Do you want to override the default password policy for this User Pool? Yes\n Enter the minimum password length for this User Pool: 256<\/code><\/pre>\n\n\n\n<p>\u30e1\u30fc\u30eb\u30d9\u30fc\u30b9\u306e\u30e6\u30fc\u30b6\u30fc\u767b\u9332\/\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5fd8\u308c\u305f\u5834\u5408: \u6709\u52b9 (\u767b\u9332\u6642\u306b\u30e6\u30fc\u30b6\u30fc\u3054\u3068\u306e\u30e1\u30fc\u30eb\u5165\u529b\u304c\u5fc5\u8981)<br>\u30e1\u30fc\u30eb\u78ba\u8a8d\u306e\u4ef6\u540d\u3092\u6307\u5b9a: \u78ba\u8a8d\u30b3\u30fc\u30c9<br>\u30e1\u30fc\u30eb\u78ba\u8a8d\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u6307\u5b9a: \u78ba\u8a8d\u30b3\u30fc\u30c9\u306f {####} \u3067\u3059<br>\u3053\u306e\u30e6\u30fc\u30b6\u30fc \u30d7\u30fc\u30eb\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30d1\u30b9\u30ef\u30fc\u30c9 \u30dd\u30ea\u30b7\u30fc\u3092\u4e0a\u66f8\u304d\u3057\u307e\u3059\u304b? \u306f\u3044<br>\u3053\u306e\u30e6\u30fc\u30b6\u30fc \u30d7\u30fc\u30eb\u306e\u6700\u5c0f\u30d1\u30b9\u30ef\u30fc\u30c9\u9577\u3092\u5165\u529b: 256<\/p>\n\n\n\n<p><em>\u203b\u57fa\u672c\u7684\u306b\u3001\u767b\u9332\u6642\u306e\u307e\u307e\u306a\u306e\u3067\u3001\u9023\u6253\u3067OK<\/em><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code> Select the password character requirements for your userpool: (Press &lt;space> to\n select, &lt;a> to toggle all, &lt;i> to invert selection)\n\u276f Requires Lowercase\n  Requires Uppercase\n  Requires Numbers\n  Requires Symbols<\/code><\/pre>\n\n\n\n<p>\u30e6\u30fc\u30b6\u30fc\u30d7\u30fc\u30eb\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u6587\u5b57\u8981\u4ef6\u3092\u9078\u629e\u3057\u307e\u3059: (\u9078\u629e\u3059\u308b\u306b\u306f \u30b9\u30da\u30fc\u30b9\u3092\u62bc\u3057\u3001\u3059\u3079\u3066\u3092\u5207\u308a\u66ff\u3048\u308b\u306b\u306f [a] \u3092\u62bc\u3057\u3001\u9078\u629e\u3092\u53cd\u8ee2\u3059\u308b\u306b\u306f [i] \u3092\u62bc\u3057\u307e\u3059)<br>\u276f \u5c0f\u6587\u5b57\u304c\u5fc5\u8981\u3067\u3059<br> \u5927\u6587\u5b57\u304c\u5fc5\u8981\u3067\u3059<br> \u6570\u5b57\u304c\u5fc5\u8981\u3067\u3059<br> \u8a18\u53f7\u304c\u5fc5\u8981\u3067\u3059<\/p>\n\n\n\n<p>\u203b\u5b8c\u4e86\u306f\u30a8\u30f3\u30bf\u30fc<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code> Specify the app's refresh token expiration period (in days): 30<\/code><\/pre>\n\n\n\n<p>\u30a2\u30d7\u30ea\u306e\u30ea\u30d5\u30ec\u30c3\u30b7\u30e5 \u30c8\u30fc\u30af\u30f3\u306e\u6709\u52b9\u671f\u9650\u3092\u6307\u5b9a\u3057\u307e\u3059 (\u65e5\u6570): 30<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code> Do you want to specify the user attributes this app can read and write? (Y\/n)<\/code><\/pre>\n\n\n\n<p>\u3053\u306e\u30a2\u30d7\u30ea\u304c\u8aad\u307f\u53d6\u308a\u304a\u3088\u3073\u66f8\u304d\u8fbc\u307f\u3067\u304d\u308b\u30e6\u30fc\u30b6\u30fc\u5c5e\u6027\u3092\u6307\u5b9a\u3057\u307e\u3059\u304b? (Y\/n)<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code> Do you want to enable any of the following capabilities? (Press &lt;space> to sele\nct, &lt;a> to toggle all, &lt;i> to invert selection)\n\u276f\u25c9 Add Google reCaptcha Challenge\n \u25ef Email Verification Link with Redirect\n \u25ef Add User to Group\n \u25ef Email Domain Filtering (denylist)\n \u25ef Email Domain Filtering (allowlist)\n \u25ef Custom Auth Challenge Flow (basic scaffolding - not for production)\n \u25ef Override ID Token Claims<\/code><\/pre>\n\n\n\n<p>\u4ee5\u4e0b\u306e\u6a5f\u80fd\u306e\u3044\u305a\u308c\u304b\u3092\u6709\u52b9\u306b\u3057\u307e\u3059\u304b? (\u9078\u629e\u3059\u308b\u306b\u306f\u30b9\u30da\u30fc\u30b9\u3001\u3059\u3079\u3066\u3092\u5207\u308a\u66ff\u3048\u308b\u306b\u306f [a]\u3001\u9078\u629e\u3092\u53cd\u8ee2\u3059\u308b\u306b\u306f [i] \u3092\u62bc\u3057\u307e\u3059)<br>\u276f Google reCaptcha \u30c1\u30e3\u30ec\u30f3\u30b8\u3092\u8ffd\u52a0<br> \u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u4ed8\u304d\u306e\u30e1\u30fc\u30eb\u691c\u8a3c\u30ea\u30f3\u30af<br> \u30b0\u30eb\u30fc\u30d7\u306b\u30e6\u30fc\u30b6\u30fc\u3092\u8ffd\u52a0<br> \u30e1\u30fc\u30eb \u30c9\u30e1\u30a4\u30f3 \u30d5\u30a3\u30eb\u30bf\u30ea\u30f3\u30b0 (\u62d2\u5426\u30ea\u30b9\u30c8)<br> \u30e1\u30fc\u30eb \u30c9\u30e1\u30a4\u30f3 \u30d5\u30a3\u30eb\u30bf\u30ea\u30f3\u30b0 (\u8a31\u53ef\u30ea\u30b9\u30c8)<br> \u30ab\u30b9\u30bf\u30e0\u8a8d\u8a3c\u30c1\u30e3\u30ec\u30f3\u30b8 \u30d5\u30ed\u30fc (\u57fa\u672c\u7684\u306a\u30b9\u30ad\u30e3\u30d5\u30a9\u30fc\u30eb\u30c7\u30a3\u30f3\u30b0 &#8211; \u672c\u756a\u74b0\u5883\u5411\u3051\u3067\u306f\u3042\u308a\u307e\u305b\u3093)<br> ID \u30c8\u30fc\u30af\u30f3 \u30af\u30ec\u30fc\u30e0\u3092\u30aa\u30fc\u30d0\u30fc\u30e9\u30a4\u30c9<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code> Do you want to use an OAuth flow? Yes\n What domain name prefix do you want to use? mfapp2b040d30-2b040d30\n Which redirect signin URIs do you want to edit? (Press &lt;space> to select, &lt;a> t\no toggle all, &lt;i> to invert selection)\n\u276f\u25ef https:\/\/192.168.0.101:3000\/signin\/<\/code><\/pre>\n\n\n\n<p>OAuth \u30d5\u30ed\u30fc\u3092\u4f7f\u7528\u3057\u307e\u3059\u304b? \u306f\u3044<br>\u3069\u306e\u30c9\u30e1\u30a4\u30f3\u540d\u30d7\u30ec\u30d5\u30a3\u30c3\u30af\u30b9\u3092\u4f7f\u7528\u3057\u307e\u3059\u304b? mfapp2b040d30-2b040d30<br>\u3069\u306e\u30ea\u30c0\u30a4\u30ec\u30af\u30c8 \u30b5\u30a4\u30f3\u30a4\u30f3 URI \u3092\u7de8\u96c6\u3057\u307e\u3059\u304b? (\u9078\u629e\u3059\u308b\u306b\u306f\u30b9\u30da\u30fc\u30b9\u3001\u3059\u3079\u3066\u3092\u5207\u308a\u66ff\u3048\u308b\u306b\u306f [a]\u3001\u9078\u629e\u3092\u53cd\u8ee2\u3059\u308b\u306b\u306f [i] \u3092\u62bc\u3057\u307e\u3059)<br>\u276f\u25ef https:\/\/192.168.0.101:3000\/signin\/<\/p>\n\n\n\n<p>Which redirect signin URIs do you want to edit? https:\/\/192.168.0.101:3000\/sign<br>in\/<br>? Update https:\/\/192.168.0.101:3000\/signin\/ https:\/\/192.168.0.101:3000\/signin\/<br>\u203b\u5fc5\u305a\u3001\u7e70\u308a\u8fd4\u3059\u3053\u3068<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Do you want to add redirect signin URIs? (Y\/n)<\/code><\/pre>\n\n\n\n<p>\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u30b5\u30a4\u30f3\u30a4\u30f3URL\u3092\u8ffd\u52a0\u3057\u307e\u3059\u304b\uff1f<\/p>\n\n\n\n<p>Which redirect signout URIs do you want to edit? https:\/\/192.168.0.101:3000\/sig<br>nout\/<br>? Update https:\/\/192.168.0.101:3000\/signout\/ https:\/\/192.168.0.101:3000\/signout\/<br>Do you want to add redirect signout URIs? No<br>\u6d41\u308c\u306f\u540c\u3058\u306a\u306e\u3067\u3001\u5272\u611b<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Select the OAuth flows enabled for this project. (Use arrow keys)<br>\u276f Authorization code grant<br>Implicit grant<\/code><\/pre>\n\n\n\n<p>\u3053\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u6709\u52b9\u306b\u306a\u3063\u3066\u3044\u308b OAuth \u30d5\u30ed\u30fc\u3092\u9078\u629e\u3057\u307e\u3059\u3002(\u77e2\u5370\u30ad\u30fc\u3092\u4f7f\u7528)<br>\u276f \u8a8d\u8a3c\u30b3\u30fc\u30c9\u4ed8\u4e0e<br>\u6697\u9ed9\u7684\u4ed8\u4e0e<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code> Select the OAuth scopes enabled for this project. (Press &lt;space> to select, &lt;a>\n to toggle all, &lt;i> to invert selection)\n\u276f\u25c9 Phone\n \u25c9 Email\n \u25c9 OpenID\n \u25ef Profile\n \u25c9 aws.cognito.signin.user.admin<\/code><\/pre>\n\n\n\n<p>\u3053\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u6709\u52b9\u306b\u306a\u3063\u3066\u3044\u308b OAuth \u30b9\u30b3\u30fc\u30d7\u3092\u9078\u629e\u3057\u307e\u3059\u3002<br>\u276f\u25c9 \u96fb\u8a71<br>\u25c9 \u30e1\u30fc\u30eb<br>\u25c9 OpenID<br>\u25ef \u30d7\u30ed\u30d5\u30a1\u30a4\u30eb<br>\u25c9 aws.cognito.signin.user.admin<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code> Select the identity providers you want to configure for your user pool: Google\n\n You've opted to allow users to authenticate via Google.  If you haven't already\n, you'll need to go to https:\/\/developers.google.com\/identity and create an App\nID.\n\n Enter your Google Web Client ID for your OAuth flow:<\/code><\/pre>\n\n\n\n<p>\u30e6\u30fc\u30b6\u30fc \u30d7\u30fc\u30eb\u306b\u8a2d\u5b9a\u3059\u308b ID \u30d7\u30ed\u30d0\u30a4\u30c0\u30fc\u3092\u9078\u629e\u3057\u307e\u3059: Google<\/p>\n\n\n\n<p>\u30e6\u30fc\u30b6\u30fc\u304c Google \u7d4c\u7531\u3067\u8a8d\u8a3c\u3067\u304d\u308b\u3088\u3046\u306b\u9078\u629e\u3057\u307e\u3057\u305f\u3002\u307e\u3060\u884c\u3063\u3066\u3044\u306a\u3044\u5834\u5408\u306f\u3001https:\/\/developers.google.com\/identity \u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066 App ID \u3092\u4f5c\u6210\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>OAuth \u30d5\u30ed\u30fc\u306e Google Web \u30af\u30e9\u30a4\u30a2\u30f3\u30c8 ID \u3092\u5165\u529b\u3057\u307e\u3059:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Enter your Google Web Client Secret for your OAuth flow:<\/code><\/pre>\n\n\n\n<p>OAuth \u30d5\u30ed\u30fc\u306e Google Web \u30af\u30e9\u30a4\u30a2\u30f3\u30c8 \u30b7\u30fc\u30af\u30ec\u30c3\u30c8\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>Warning! Your existing IdentityPool:identitypoolName will be deleted upon the next \u201camplify push\u201d!<br>? Do you want to configure Lambda Triggers for Cognito? No<br>Successfully updated the Cognito trigger locally<br>Successfully updated the Cognito trigger locally<br>Successfully updated the Cognito trigger locally<br>\u2705 Successfully updated auth resource *************locally<\/p>\n\n\n\n<p>\u2705 Some next steps:<br>&#8220;amplify push&#8221; will build all your local backend resources and provision it in the cloud<br>&#8220;amplify publish&#8221; will build all your local backend and frontend resources (if you have hosting category added) and provision it in the cloud<\/p>\n\n\n\n<p>\u26a0\ufe0f You have enabled SMS based auth workflow. Verify your SNS account mode in the SNS console: https:\/\/console.aws.amazon.com\/sns\/v3\/home#\/mobile\/text-messaging<br>If your account is in &#8220;Sandbox&#8221; mode, you can only send SMS messages to verified recipient phone numbers.<\/p>\n\n\n\n<p>\u2705 Successfully updated resource update locally<\/p>\n\n\n\n<p>\u2705 Some next steps:<br>&#8220;amplify push&#8221; will build all your local backend resources and provision it in the cloud<br>&#8220;amplify publish&#8221; will build all your local backend and frontend resources (if you have hosting category added) and provision it in the cloud<\/p>\n\n\n\n<p>\u3068\u308a\u3042\u3048\u305a\u3001\u3053\u308c\u3067\u8a2d\u5b9a\u306f\u7d42\u308f\u3063\u305f\u306e\u3067\u3001Push\u3057\u3066\u53cd\u6620\u3057\u307e\u3057\u3087\u3046<\/p>\n","protected":false},"excerpt":{"rendered":"<p>React\u3067Amplify\u3092\u4f7f\u3046\u306e\u3067\u3059\u304c\u3001\u82e6\u52b4\u3057\u3066\u8a2d\u5b9a\u3057\u3066\u3082\u3001\u82f1\u8a9e\u306a\u306e\u3067\u5fd8\u308c\u308b\uff01\u306f\u3044\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u3053\u3061\u3089\u306b\u307e\u3068\u3081\u307e\u3059\u3002\u305f\u3060\u305d\u308c\u3060\u3051\uff08\u65e5\u672c\u8a9e\u8a33\u3068\u306a\u3093\u3068\u306a\u304f\u306e\u89e3\u8aac\u306a\u3069\u306a\u3069\uff09 \u958b\u767a\u74b0\u5883\u306f\u5fd8\u308c\u305f\u30cc\u30fc\u30f3\uff08\u5099\u5fd8\u9332\u306a\u306e\u3067\u3001\u9069\u5f53\u306bRea&hellip;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[11],"tags":[],"class_list":["post-223","post","type-post","status-publish","format-standard","hentry","category-program"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/deskgadgetreviews.com\/index.php\/wp-json\/wp\/v2\/posts\/223","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/deskgadgetreviews.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/deskgadgetreviews.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/deskgadgetreviews.com\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/deskgadgetreviews.com\/index.php\/wp-json\/wp\/v2\/comments?post=223"}],"version-history":[{"count":2,"href":"https:\/\/deskgadgetreviews.com\/index.php\/wp-json\/wp\/v2\/posts\/223\/revisions"}],"predecessor-version":[{"id":226,"href":"https:\/\/deskgadgetreviews.com\/index.php\/wp-json\/wp\/v2\/posts\/223\/revisions\/226"}],"wp:attachment":[{"href":"https:\/\/deskgadgetreviews.com\/index.php\/wp-json\/wp\/v2\/media?parent=223"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/deskgadgetreviews.com\/index.php\/wp-json\/wp\/v2\/categories?post=223"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/deskgadgetreviews.com\/index.php\/wp-json\/wp\/v2\/tags?post=223"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}