Open
Conversation
…umentation, and unit tests
…ns with DynamoDB integration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Task 7
https://github.com/rolling-scopes-school/aws/blob/main/aws-developer/07_authorization/task.md
Links
Settings:
Token Generator
userName = 'Tati-Moon'
password = (from task)
CVS:
title,description,price,count
some,some,666,666
or
title,description,price,count,photo
Product x, Product x,111,9,https://d1yjjnpx0p53s8.cloudfront.net/styles/logo-thumbnail/s3/0025/1559/brand.gif?itok=vXujPldk
Evaluation Criteria
100/100
### Task 7.1
authorization-servicebasicAuthorizerunder the Authorization ServiceGITHUB_LOGINandGITHUB_PASSWORDThe request from the client application to the /import path of the Import Service was required to have a Basic Authorization header:
Authorization: Basic {authorization_token}
The {authorization_token} was a base64-encoded {your_github_account_login}
example: Authorization: Basic sGLzdRxvZmw0ZXs0UGFzcw==
The client obtained the authorization_token value from the browser's localStorage:
const authorization_token = localStorage.getItem('authorization_token')
The client application displayed alerts for responses with 401 and 403 HTTP statuses. This behavior was added to the nodejs-aws-fe-main/src/index.tsx file.