├── .eslintrc.js ├── .gitignore ├── .prettierrc ├── README.md ├── nest-cli.json ├── package.json ├── src ├── app.controller.spec.ts ├── app.controller.ts ├── app.module.ts ├── app.service.ts ├── auth │ ├── auth-sso.stategy.ts │ ├── auth.constants.ts │ ├── auth.controller.ts │ ├── auth.module.ts │ └── sso-auth.guard.ts └── main.ts ├── test ├── app.e2e-spec.ts └── jest-e2e.json ├── tsconfig.build.json └── tsconfig.json /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melikhov-dev/nest-openid-client-passport/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .env 2 | node_modules 3 | dist 4 | -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melikhov-dev/nest-openid-client-passport/HEAD/.prettierrc -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Nest example for OpenID connect with Passport 2 | -------------------------------------------------------------------------------- /nest-cli.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melikhov-dev/nest-openid-client-passport/HEAD/nest-cli.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melikhov-dev/nest-openid-client-passport/HEAD/package.json -------------------------------------------------------------------------------- /src/app.controller.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melikhov-dev/nest-openid-client-passport/HEAD/src/app.controller.spec.ts -------------------------------------------------------------------------------- /src/app.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melikhov-dev/nest-openid-client-passport/HEAD/src/app.controller.ts -------------------------------------------------------------------------------- /src/app.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melikhov-dev/nest-openid-client-passport/HEAD/src/app.module.ts -------------------------------------------------------------------------------- /src/app.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melikhov-dev/nest-openid-client-passport/HEAD/src/app.service.ts -------------------------------------------------------------------------------- /src/auth/auth-sso.stategy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melikhov-dev/nest-openid-client-passport/HEAD/src/auth/auth-sso.stategy.ts -------------------------------------------------------------------------------- /src/auth/auth.constants.ts: -------------------------------------------------------------------------------- 1 | export const CLIENT = Symbol('client'); 2 | -------------------------------------------------------------------------------- /src/auth/auth.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melikhov-dev/nest-openid-client-passport/HEAD/src/auth/auth.controller.ts -------------------------------------------------------------------------------- /src/auth/auth.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melikhov-dev/nest-openid-client-passport/HEAD/src/auth/auth.module.ts -------------------------------------------------------------------------------- /src/auth/sso-auth.guard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melikhov-dev/nest-openid-client-passport/HEAD/src/auth/sso-auth.guard.ts -------------------------------------------------------------------------------- /src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melikhov-dev/nest-openid-client-passport/HEAD/src/main.ts -------------------------------------------------------------------------------- /test/app.e2e-spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melikhov-dev/nest-openid-client-passport/HEAD/test/app.e2e-spec.ts -------------------------------------------------------------------------------- /test/jest-e2e.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melikhov-dev/nest-openid-client-passport/HEAD/test/jest-e2e.json -------------------------------------------------------------------------------- /tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melikhov-dev/nest-openid-client-passport/HEAD/tsconfig.build.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melikhov-dev/nest-openid-client-passport/HEAD/tsconfig.json --------------------------------------------------------------------------------