This package has been deprecated

Author message:

package renamed to cdk-user-pool-identity-provider-github, please use the latest to benefits from new releases

user-pool-identity-provider-github
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

UserPoolIdentityProviderGithub CDK construct

This library bundles the GitHub OpenID Connect Wrapper for Cognito as a CDK construct, instead of the original SAM implementation.

Usage

import { UserPool } from 'aws-cdk/aws-cognito';
import { UserPoolIdentityProviderGithub } from 'user-pool-identity-provider-github';

const userPool = new UserPool(stack, 'UserPool');
new UserPoolIdentityProviderGithub(this, 'UserPoolIdentityProviderGithub', {
  userPool,
  clientId: 'myClientId',
  clientSeret: 'myClientSecret',
  cognitoHostedUiDomain: 'https://auth.domain.com',
});

Documentation

See API.

Contributing

Feedback and pull requests are more than welcome 🤗

This project uses the projen project generator. Learn how to use it for CDK constructs here.

Note that the github-cognito-openid-wrapper code is vendored here. To benefit from newer versions, run the following command:

./scripts/bump-github-cognito-openid-wrapper.sh

Package Sidebar

Install

npm i user-pool-identity-provider-github

Weekly Downloads

0

Version

0.0.2

License

MIT

Unpacked Size

23.1 MB

Total Files

22

Last publish

Collaborators

  • christophe.bougere