1.1.1 • Published 6 years ago

@nrfcloud/create-token v1.1.1

Weekly downloads
-
License
BSD-3-Clause
Repository
github
Last release
6 years ago

Create Token Endpoint

npm dev version Build Status Test Coverage
Greenkeeper badge semantic-release Commitizen friendly
DeepScan Grade Known Vulnerabilities Maintainability

API endpoint which creates an identity token to be used for authenticating the user against the API.

:warning: This endpoint should only be used for testing environments

Tests

The tests are integration tests and use CloudFormation to set up the required resources. See

Set these environment variables:

AWS_ACCESS_KEY_ID=...
AWS_SECRET_ACCESS_KEY=...

Make sure that this user has the necessary permissions:

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Action": "cloudformation:*",
            "Resource": "arn:aws:cloudformation:*:*:stack/test-*"
        },
        {
            "Effect": "Allow",
            "Action": "cognito-idp:*",
            "Resource": "*"
        }
    ]
}
1.1.4

6 years ago

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.0

6 years ago