|
| 1 | +--- |
| 2 | +name: Old Bug report |
| 3 | +about: Create a report to help us improve |
| 4 | +title: '' |
| 5 | +labels: to-be-reproduced |
| 6 | +assignees: '' |
| 7 | +--- |
| 8 | + |
| 9 | +**Describe the bug** |
| 10 | +A clear and concise description of what the bug is. |
| 11 | + |
| 12 | +**To Reproduce** |
| 13 | +Steps to reproduce the behavior: |
| 14 | + |
| 15 | +1. Go to '...' |
| 16 | +2. Click on '....' |
| 17 | +3. Scroll down to '....' |
| 18 | +4. See error |
| 19 | + |
| 20 | +**Expected behavior** |
| 21 | +A clear and concise description of what you expected to happen. |
| 22 | + |
| 23 | +**Code Snippet** |
| 24 | +Please provide a code snippet or a link to sample code of the issue you are experiencing to help us reproduce the issue. (Be sure to remove any sensitive data) |
| 25 | + |
| 26 | +**Screenshots** |
| 27 | +If applicable, add screenshots to help explain your problem. |
| 28 | + |
| 29 | +**What is Configured?** |
| 30 | +If applicable, please provide what is configured for Amplify CLI: |
| 31 | + |
| 32 | +- Which steps did you follow via Amplify CLI when configuring your resources. |
| 33 | +- Which resources do you have configured? |
| 34 | + - If applicable, please provide your `aws-exports` file: |
| 35 | + ``` |
| 36 | + const awsmobile = { |
| 37 | + "aws_project_region": "us-east-1", |
| 38 | + "aws_cognito_identity_pool_id": "us-east-1:xxx-xxxx-xxxx-xxxx-xxxxxxxx", |
| 39 | + "aws_cognito_region": "us-east-1", |
| 40 | + "aws_user_pools_id": "us-east-1_xxx", |
| 41 | + "aws_user_pools_web_client_id": "xxxx", |
| 42 | + "oauth": {} |
| 43 | + }; |
| 44 | + ``` |
| 45 | + - If applicable, please provide your manual configuration example: |
| 46 | + ``` |
| 47 | + { |
| 48 | + Auth: { |
| 49 | + identityPoolId: 'XX-XXXX-X:XXXXXXXX-XXXX-1234-abcd-1234567890ab', |
| 50 | + region: 'XX-XXXX-X', |
| 51 | + identityPoolRegion: 'XX-XXXX-X', |
| 52 | + userPoolId: 'XX-XXXX-X_abcd1234', |
| 53 | + userPoolWebClientId: 'a1b2c3d4e5f6g7h8i9j0k1l2m3', |
| 54 | + mandatorySignIn: false, |
| 55 | + authenticationFlowType: 'USER_PASSWORD_AUTH', |
| 56 | + oauth: { |
| 57 | + domain: 'your_cognito_domain', |
| 58 | + scope: ['phone', 'email', 'profile', 'openid', 'aws.cognito.signin.user.admin'], |
| 59 | + redirectSignIn: 'http://localhost:3000/', |
| 60 | + redirectSignOut: 'http://localhost:3000/', |
| 61 | + responseType: 'code' // or 'token', note that REFRESH token will only be generated when the responseType is code |
| 62 | + } |
| 63 | + } |
| 64 | + } |
| 65 | + ``` |
| 66 | +- If applicable, provide more configuration data, for example for Amazon Cognito, run `aws cognito-idp describe-user-pool --user-pool-id us-west-2_xxxxxx` (Be sure to remove any sensitive data) |
| 67 | + |
| 68 | +<details> |
| 69 | + <summary><strong>Environment</strong></summary> |
| 70 | + |
| 71 | +<!-- Please run the following command inside your project and copy/paste the output into the codeblock: --> |
| 72 | + |
| 73 | +``` |
| 74 | +npx envinfo --system --binaries --browsers --npmPackages --npmGlobalPackages |
| 75 | +``` |
| 76 | + |
| 77 | +</details> |
| 78 | + |
| 79 | +**Smartphone (please complete the following information):** |
| 80 | + |
| 81 | +- Device: [e.g. iPhone6] |
| 82 | +- OS: [e.g. iOS8.1] |
| 83 | +- Browser [e.g. stock browser, safari] |
| 84 | +- Version [e.g. 22] |
| 85 | + |
| 86 | +**Additional context** |
| 87 | +Add any other context about the problem here. |
| 88 | + |
| 89 | +**_You can turn on the debug mode to provide more info for us by setting window.LOG_LEVEL = 'DEBUG'; in your app._** |
0 commit comments