8000 GitHub - lstoll/lambdaid: OIDC IDP that runs in lambda
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Oct 9, 2021. It is now read-only.

lstoll/lambdaid

Repository files navigation

(DEPRECATED) Lambda ID

Deprecated: Development has been folded in to https://github.com/lstoll/idp

Example OIDC IDP that runs in lambda, using various AWS services.

Running locally

Boot up dynnamo/mini with docker-compose up

Create the dynamo tables make create-dynamo-tables

Sync data into minio miniosync

Boot up the server make run-local. Code changes can be hot deployed to this with make build

It can be tested against the oidc-example-rp oidc-example-rp -issuer=http://localhost:3000

Deploying

Use the sam cli. Update samconfig.toml with stack params:

parameter_overrides = "DomainName=\"XX.XX.XXX\" HostedZoneID=\"Z03959043OXXXXX\" CertificateARN=\"arn:aws:acm:us-east-1:04XXXXX:certificate/XXXXX\" OIDCSignerKeyARN=\"arn:aws:kms:us-east-1:XXXXX:key/XXXXX\" GoogleOIDCClientID=\"XXXX-XXXXXX\" GoogleOIDCClientSecret=\"XXXXX\""

Build and deploy sam build && aws-vault exec XX -- sam deploy

Check logs aws-vault exec XX -- sam logs --stack-name XX -n IDPFunction --region us-east-1

About

OIDC IDP that runs in lambda

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0