Following the protocol of Lit Action to develop application.Which supports multiple ways of OAuth2 to login in,such as Google,Discord and Webauthn.Of cource it supports Digtial Wallet to login in as well.
create a .env and refer to the .env_example file to configure your VITE_GOOGLE_CLIENT_ID for Google oauth2 login,because only in the development environment of Google supports specific accounts to login.So I separately configure VITE_GOOGLE_CLIENT_ID for those who want to dynamicly configure their own Google Client ID .
npm install
npm run dev
npm run build