box / box/samples

misalignment between code and doc

Open
#15 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
71
Forks
83
PR merge metrics
No merged PRs in 30d

Description

Hi,

The first issue is

For the AWS Cognito examples using lambda, it is said in doc to use the following env variable:
`BOX_PRIVATE_KEY_PASSPHRASE = `

but the lambda code is using `BOX_PRIVATE_KEY_PASSWORD` (see https://github.com/box/samples/blob/cognito_integration/box-node-cognito-lambdas-sample/tokenExchange/box-manager.js#L16)

The second issue is with the angular2 application

Its mentioned to add a custom attribute called `custom:box_appuser_id` which will store the box id for the given account.

but the application is using `box_appuser_token` (see https://github.com/box/samples/blob/master/box-aws-cognito-angular2-skeleton-app-sample/src/app/config/box/box.config.ts#L10)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.