Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/redwoodjs/playground-auth
This repo demonstrates all the authentication providers that Redwood supports
https://github.com/redwoodjs/playground-auth
Last synced: about 5 hours ago
JSON representation
This repo demonstrates all the authentication providers that Redwood supports
- Host: GitHub
- URL: https://github.com/redwoodjs/playground-auth
- Owner: redwoodjs
- License: mit
- Created: 2020-06-11T19:44:35.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-12-15T05:18:26.000Z (11 months ago)
- Last Synced: 2024-05-22T17:24:13.852Z (6 months ago)
- Language: HTML
- Homepage: https://redwood-playground-auth.netlify.app/
- Size: 2.93 MB
- Stars: 34
- Watchers: 12
- Forks: 26
- Open Issues: 44
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
- awesome-redwood - Auth Playground
README
# Redwood's Auth Playground
This repo demonstrates all the Authentication Providers that Redwood supports. [Read more](https://redwoodjs.com/docs/authentication) about our authentication providers in our docs, or [preview the deploy](https://redwood-playground-auth.netlify.app/) of this site on Netlify!
### 🔗 [Link](https://redwood-playground-auth.netlify.app/)
## Setup
In order to support several Auth Providers, you may want to set custom values for the default provider settings:
### Auth0
If you want to use the `signUp` function, returned by the `useAuth` hook, to default the Auth0 UI to the sign up "tab", you need to be using the ["New Universal Login Experience"](https://auth0.com/docs/universal-login/new-experience). The "Classic Universal Experience" does not support the `screen_hint` to set the tab.
```
AUTH0_DOMAIN=""
AUTH0_AUDIENCE=""
AUTH0_CLIENT_ID=""
AUTH0_CLIENT_SECRET=""
AUTH0_REDIRECT_URI=""
AUTH0_AUDIENCE=""
```### Azure Active Directory
```
AZURE_ACTIVE_DIRECTORY_CLIENT_ID=""
AZURE_ACTIVE_DIRECTORY_AUTHORITY=""
AZURE_ACTIVE_DIRECTORY_REDIRECT_URI=""
AZURE_ACTIVE_DIRECTORY_LOGOUT_REDIRECT_URI=""
```### Netlify Identity
Set site
### Magic.link
```
MAGIC_SECRET_KEY=""
```### Firebase
```
FIREBASE_API_KEY=""
FIREBASE_AUTH_DOMAIN=""
FIREBASE_DATABASE_URL=""
FIREBASE_PROJECT_ID=""
FIREBASE_STORAGE_BUCKET=""
FIREBASE_MESSAGING_SENDER_ID=""
FIREBASE_APP_ID=""
```### Supabase
```
SUPABASE_KEY=""
SUPABASE_URL=""
SUPABASE_JWT_SECTRET="" # Found in Supabase dashboard > Settings > API
```### SuperTokens
```
SUPERTOKENS_WEBSITE_DOMAIN=""
SUPERTOKENS_API_DOMAIN=""
SUPERTOKENS_API_GATEWAY_PATH=""
SUPERTOKENS_CONNECTION_URI=""SUPERTOKENS_JWKS_URL=""
# OAuth client credentials for the ones configured in this demo
SUPERTOKENS_GOOGLE_CLIENT_ID=""
SUPERTOKENS_GOOGLE_CLIENT_SECRET=""SUPERTOKENS_GITHUB_CLIENT_ID=""
SUPERTOKENS_GITHUB_CLIENT_SECRET=""SUPERTOKENS_APPLE_CLIENT_ID=""
SUPERTOKENS_APPLE_SECRET_KEY_ID=""
SUPERTOKENS_APPLE_SECRET_PRIVATE_KEY=""
SUPERTOKENS_APPLE_SECRET_TEAM_ID=""
```