Skip to content

Commit

Permalink
feat: web3authn + auth0 spa quickstart working on local host
Browse files Browse the repository at this point in the history
  • Loading branch information
Robin Bryce committed Aug 17, 2024
1 parent 28c11be commit 4752af9
Show file tree
Hide file tree
Showing 23 changed files with 9,361 additions and 0 deletions.
41 changes: 41 additions & 0 deletions apps/w3a-auth0-demo/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Web3Auth (`@web3auth/no-modal`) x Auth0 (Custom Authentication)

[![Web3Auth](https://img.shields.io/badge/Web3Auth-SDK-blue)](https://web3auth.io/docs/sdk/pnp/web/no-modal)
[![Web3Auth](https://img.shields.io/badge/Web3Auth-Community-cyan)](https://community.web3auth.io)

[Join our Community Portal](https://community.web3auth.io/) to get support and stay up to date with the latest news and updates.

This example demonstrates how to use Web3Auth with Auth0 (Custom Authentication).

## How to Use

### One-Click Deploy to Vercel

[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2FWeb3Auth%2Fweb3auth-pnp-examples%2Ftree%2Fmain%2Fweb-no-modal-sdk%2Fcustom-authentication%2Fsingle-verifier-examples%2Fauth0-no-modal-example&project-name=w3a-auth0-no-modal&repository-name=w3a-auth0-no-modal)

### Download Manually

```bash
npx degit Web3Auth/web3auth-pnp-examples/web-no-modal-sdk/custom-authentication/single-verifier-examples/auth0-no-modal-example w3a-example
```

Install & Run:

```bash
cd w3a-example
npm install
npm run start
# or
cd w3a-example
yarn
yarn start
```

## Important Links

- [Website](https://web3auth.io)
- [Docs](https://web3auth.io/docs)
- [Guides](https://web3auth.io/docs/guides)
- [SDK / API References](https://web3auth.io/docs/sdk)
- [Pricing](https://web3auth.io/pricing.html)
- [Community Portal](https://community.web3auth.io)
23 changes: 23 additions & 0 deletions apps/w3a-auth0-demo/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<!DOCTYPE html>
<html lang="en">
<head>
<script type="module">
import { Buffer } from "buffer";
import process from "process";
window.Buffer = Buffer;
window.process = process;
</script>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta name="description" content="Web site created using create-react-app but later moved to vite" />

<title>Web3auth EVM Modal Demo App</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>

<script type="module" src="/src/index.tsx"></script>
</body>
</html>
Loading

0 comments on commit 4752af9

Please sign in to comment.