No description
Find a file
Karolis Kudze Kraujelis 1f1b39b3ee fix
2024-12-14 03:38:36 +02:00
snippets added alert for forgot password changed 2024-03-29 14:05:22 +02:00
src fix 2024-12-14 03:38:36 +02:00
test v1.1.22: Split it into two packages 2024-10-20 09:33:32 +03:00
.gitignore lets see maybe lets try built veersion 2024-02-13 04:50:05 +02:00
LICENSE Initial commit 2024-02-13 03:48:59 +02:00
package-lock.json fix 2024-12-14 03:38:36 +02:00
package.json fix 2024-12-14 03:38:36 +02:00
README.md enviroment variables resolved? 2024-06-19 06:44:59 +03:00
tsconfig.json lets see maybe lets try built veersion 2024-02-13 04:50:05 +02:00
tsup.config.ts v1.1.22: Split it into two packages 2024-10-20 09:33:32 +03:00

Auth Guard

Description

This is a small UI that all of my services uses for authentications.

Environment variables

In case used from Vite

  • VITE_AUTH_API_URL - URL of authenticator (default: https://auth.kudze.lt/api).
  • VITE_AUTH_VERIFY_EMAIL_URL - URL of verify email page (default: https://auth.kudze.lt/verify/).
  • VITE_COOKIE_DOMAIN - Cookie domain for authentication (default: https://auth.kudze.lt/api).
  • VITE_ACCOUNT_ROUTE - URL of account page (default: https://auth.kudze.lt/account).
  • VITE_SESSION_ROUTE - URL of session route (default: https://auth.kudze.lt/session).

In case used from NextJs

  • NEXT_PUBLIC_AUTH_API_URL - URL of authenticator (default: https://auth.kudze.lt/api).
  • NEXT_PUBLIC_AUTH_VERIFY_EMAIL_URL - URL of verify email page (default: https://auth.kudze.lt/verify/).
  • NEXT_PUBLIC_COOKIE_DOMAIN - Cookie domain for authentication (default: https://auth.kudze.lt/api).
  • NEXT_PUBLIC_ACCOUNT_ROUTE - URL of account page (default: https://auth.kudze.lt/account).
  • NEXT_PUBLIC_SESSION_ROUTE - URL of session route (default: https://auth.kudze.lt/session).