payload-auth
Robust Payload CMS plugin to integrate Better-Auth into your projects
파일 탐색기
최종 버전 다운로드 (.zip)- bug.yml
- config.yml
- feature.yml
- ci.yml
- lint-commit-messages.yml
- release-canary.yml
- release.yml
- file.svg
- globe.svg
- next.svg
- vercel.svg
- window.svg
- prepare.js
- anyone.ts
- authenticated.ts
- hasRoles.ts
- noOne.ts
- userHasRole.ts
- page.tsx
- page.tsx
- page.tsx
- page.tsx
- layout.tsx
- page.tsx
- favicon.ico
- layout.tsx
- page.tsx
- not-found.tsx
- page.tsx
- importMap.js
- route.ts
- route.ts
- route.ts
- custom.scss
- layout.tsx
- route.ts
- schema-gen.ts
- actions.ts
- client.tsx
- index.tsx
- accordion.tsx
- alert-dialog.tsx
- alert.tsx
- aspect-ratio.tsx
- avatar.tsx
- badge.tsx
- breadcrumb.tsx
- button.tsx
- calendar.tsx
- canvas-reveal-effect.tsx
- card.tsx
- chart.tsx
- checkbox.tsx
- collapsible.tsx
- command.tsx
- context-menu.tsx
- copy-button.tsx
- dialog.tsx
- drawer.tsx
- dropdown-menu.tsx
- form.tsx
- hover-card.tsx
- input-otp.tsx
- input.tsx
- label.tsx
- menubar.tsx
- navigation-menu.tsx
- pagination.tsx
- password-input.tsx
- popover.tsx
- progress.tsx
- radio-group.tsx
- resizable.tsx
- scroll-area.tsx
- select.tsx
- separator.tsx
- sheet.tsx
- sidebar.tsx
- skeleton.tsx
- slider.tsx
- sonner.tsx
- switch.tsx
- table.tsx
- tabs.tsx
- tabs2.tsx
- textarea.tsx
- toggle-group.tsx
- toggle.tsx
- tooltip.tsx
- account-switch.tsx
- app-sidebar.tsx
- footer.tsx
- header.tsx
- impersonating-bar.tsx
- logo.tsx
- main.tsx
- nav-main.tsx
- nav-projects.tsx
- nav-user.tsx
- one-tap.tsx
- organization-card.tsx
- providers.tsx
- sign-in-btn.tsx
- team-switcher.tsx
- theme-provider.tsx
- theme-toggle.tsx
- user-card.tsx
- use-mobile.ts
- auth.ts
- get-context-props.ts
- index.tsx
- client.ts
- options.ts
- types.ts
- 20251120_225725_init.json
- 20251120_225725_init.ts
- index.ts
- payload.ts
- utils.ts
- index.ts
- projects.ts
- auth.ts
- index.ts
- admin.css
- globals.css
- env.d.ts
- payload-types.ts
- payload.config.ts
- .env.example
- .gitignore
- components.json
- DEV-GUIDE.md
- next-env.d.ts
- next.config.ts
- package.json
- postcss.config.mjs
- prettier.config.cjs
- tsconfig.json
- ARCHITECTURE.md
- AUDIT-REPORT.md
- AUDIT_REPORT_REVIEW.md
- TEST-PLAN.md
- admin-panel.mdx
- collections.mdx
- how-it-works.mdx
- meta.json
- roles-and-access.mdx
- sessions.mdx
- client-setup.mdx
- first-admin.mdx
- installation.mdx
- meta.json
- admin-invitations.mdx
- database-migrations.mdx
- email-password.mdx
- meta.json
- openapi.mdx
- organizations.mdx
- passkeys-and-2fa.mdx
- server-side.mdx
- social-providers.mdx
- adapter.mdx
- better-auth-plugins.mdx
- exports.mdx
- meta.json
- plugin-options.mdx
- ai-agents.mdx
- index.mdx
- meta.json
- troubleshooting.mdx
- logo.svg
- layout.tsx
- page.tsx
- route.ts
- page.tsx
- layout.tsx
- route.ts
- route.ts
- route.ts
- route.tsx
- favicon.ico
- global.css
- icon.png
- layout.tsx
- mdx.tsx
- cn.ts
- layout.shared.tsx
- shared.ts
- source.ts
- proxy.ts
- .gitignore
- next.config.mjs
- package.json
- postcss.config.mjs
- README.md
- tsconfig.json
- generate-schema-builder.ts
- get-payload-schema.ts
- index.ts
- utils.ts
- index.ts
- index.ts
- README.md
- types.ts
- check-plugin-exists.ts
- generate-verify-email-url.ts
- get-admin-access.ts
- get-all-roles.ts
- get-better-auth-schema.ts
- get-collection-slug.ts
- get-collection.ts
- get-ip.ts
- get-signed-cookie.ts
- index.ts
- prepare-session-data.ts
- sync-resolved-schema-with-collection-map.ts
- index.ts
- get-url-after-read.ts
- get-url-before-change.ts
- index.ts
- generate-invite-url.ts
- index.ts
- refresh-token.ts
- send-invite-url.ts
- after-logout.ts
- before-delete.ts
- index.ts
- better-auth-strategy.ts
- index.ts
- collection-schema.ts
- filter-properties.ts
- get-timestamp-fields.ts
- model-field-transformations.ts
- payload-access.ts
- transform-schema-fields-to-payload.ts
- api-keys.ts
- device-code.ts
- index.ts
- invitations.ts
- jwks.ts
- members.ts
- oauth-access-tokens.ts
- oauth-applications.ts
- oauth-consents.ts
- organization-roles.ts
- organizations.ts
- passkeys.ts
- rate-limit.ts
- scim-provider.ts
- sessions.ts
- sso-providers.ts
- subscriptions.ts
- team-members.ts
- teams.ts
- two-factors.ts
- verifications.ts
- admin-after-role-middleware.ts
- admin-before-role-middleware.ts
- admin-invite-after-signup-middleware.ts
- apply-save-to-jwt-returned.ts
- require-admin-invite-for-sign-up-middleware.ts
- admin-plugin.ts
- api-key-plugin.ts
- device-authorization-plugin.ts
- index.ts
- oidc-plugin.ts
- organizations-plugin.ts
- passkey-plugin.ts
- sso-plugin.ts
- two-factor-plugin.ts
- apply-ba-admin-config.ts
- get-payload-auth.ts
- init-better-auth.ts
- set-login-methods.ts
- strip-secrets.ts
- index.scss
- index.tsx
- index.scss
- index.tsx
- alternative-methods.tsx
- context.tsx
- credentials-form.tsx
- index.scss
- index.tsx
- add-button.tsx
- client.tsx
- index.scss
- index.tsx
- list.tsx
- types.ts
- index.scss
- index.tsx
- logout-button.tsx
- rsc-redirect.tsx
- token-field.tsx
- client.ts
- rsc.ts
- generate-admin-invite-url.ts
- get-safe-redirect.ts
- resolve-base-url.ts
- client.tsx
- index.tsx
- client.tsx
- index.tsx
- client.tsx
- index.tsx
- client.tsx
- index.tsx
- client.tsx
- index.tsx
- set.ts
- constants.ts
- index.ts
- README.md
- types.ts
- generate-types.ts
- adapter.test.ts
- base-collections-tests.ts
- consume-one.test.ts
- null-handling.test.ts
- transform.test.ts
- 20260305_071436_init.json
- 20260305_071436_init.ts
- 20260305_072846_removeEmialHarmony.json
- 20260305_072846_removeEmialHarmony.ts
- 20260322_212925_init.json
- 20260322_212925_init.ts
- 20260729_172137.json
- 20260729_172137.ts
- 20260729_173904_ba_1_6_schema_updates.json
- 20260729_173904_ba_1_6_schema_updates.ts
- index.ts
- index.ts
- payload-types.ts
- schema.ts
- access-control.test.ts
- adapter-crud.test.ts
- admin.test.ts
- cascade-delete.test.ts
- collections.test.ts
- email-password.test.ts
- full-organization.test.ts
- impersonate.test.ts
- join-resolution.test.ts
- organization-roles.test.ts
- phone-otp.test.ts
- social-login.test.ts
- auth.ts
- index.ts
- setup.ts
- admin-invite-expiry.test.ts
- admin-role-middleware.test.ts
- after-logout-hook.test.ts
- api-key-plugin.test.ts
- before-delete-hook.test.ts
- better-auth-strategy.test.ts
- endpoint-auth.test.ts
- generate-verify-email-url.test.ts
- organizations-plugin.test.ts
- otp-validation.test.ts
- payload-access.test.ts
- role-handling.test.ts
- set-admin-role.test.ts
- set-login-methods.test.ts
- strip-secrets.test.ts
- generated-types.ts
- index.ts
- types.ts
- icons.tsx
- logo.tsx
- submit.tsx
- text-field.tsx
- index.scss
- index.tsx
- index.scss
- index.tsx
- index.ts
- validation.ts
- index.css
- index.tsx
- index.css
- index.tsx
- index.ts
- regex.ts
- try-catch.ts
- value-or-default.ts
- index.ts
- index.ts
- .env.example
- .gitignore
- .npmignore
- .swcrc
- package.json
- README.md
- tsconfig.json
- vite.config.ts
- vitest.config.ts
- 001-portable-test-infra.md
- 002-ci-quality-gate.md
- 003-march-security-punchlist.md
- 004-join-normalization-correctness.md
- 005-package-manifest-integrity.md
- 006-two-factor-admin-lockouts.md
- 007-secrets-in-admin-html.md
- 008-better-auth-1.6-compat.md
- 009-role-transform-scoping.md
- 010-nextcookies-infinite-loop.md
- README.md
- .gitignore
- .npmrc
- biome.json
- commitlint.config.mjs
- CONTRIBUTING.md
- docker-compose.test.yml
- LICENSE.md
- package.json
- pnpm-lock.yaml
- pnpm-workspace.yaml
- prettier.config.cjs
- README.md
- release.config.mjs
- turbo.json
- vercel.json
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/payload-auth/payload-auth
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd payload-auth
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. Docker
쉬움 추천사전 준비물
- Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
- Docker Desktop 컨테이너를 빌드하고 실행하려면 필요합니다. 설치 후 실행해서 백그라운드에 켜두세요.
docker compose -f docker-compose.test.yml up -d
compose 설정 파일에 정의된 서비스들을 대상으로 명령을 실행합니다.
터미널에 docker compose ps 를 입력해 컨테이너들이 Up 상태인지 확인하세요. README에 포트 번호가 적혀있다면 브라우저에서 http://localhost:포트번호 로 접속해보세요.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
3. Node.js
쉬움사전 준비물
pnpm add payload-auth better-auth
이 명령어를 터미널에 그대로 입력해 실행하세요.
pnpm install
package.json에 명시된 라이브러리들을 내려받아 설치합니다.
pnpm build # build the plugin
이 명령어를 터미널에 그대로 입력해 실행하세요.
pnpm dev # watch the plugin and run the demo
개발/실행 서버를 켭니다.
pnpm test # run the plugin test suite
이 명령어를 터미널에 그대로 입력해 실행하세요.
명령어 실행 후 터미널에 나타나는 주소(보통 http://localhost:3000 형태)를 브라우저에서 열어보세요.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
// repository documentation
Was this content helpful?
(0 ratings)
