Conversation
Summary
Errors per inputErrors in main/docs/libraries.mdx
Redirects per inputRedirects in main/docs/libraries.mdx
|
| Optionally, if you want to load environment variables through dotenv | ||
| ```shellscript | ||
| npm install -D dotenv | ||
| ``` |
There was a problem hiding this comment.
Doesn't the user also have to configure it ?
There was a problem hiding this comment.
Also, assuming the user does not install dotenv, will the .env file in the next step work ?
| **Allowed Web Origins** | ||
| ``` | ||
| http://localhost:3000 | ||
| ``` |
| </Step> | ||
|
|
||
| <Step title="Add configuration (.env)" stepNumber={4}> | ||
| Create a `.env` file at your project root (if not created in previous step) with these values: |
There was a problem hiding this comment.
This says Create a .env file, but what if I used the CLI to use the generated ENV file?
|
|
||
| ```env | ||
| AUTH0_DOMAIN=YOUR_AUTH0_APP_DOMAIN | ||
| AUTH0_CLIENT_ID=YOUR_AUTH0_APP_DOMAIN |
| Create a `.env` file at your project root (if not created in previous step) with these values: | ||
|
|
||
| ```env | ||
| AUTH0_DOMAIN=YOUR_AUTH0_APP_DOMAIN |
There was a problem hiding this comment.
Any reason we call this YOUR_AUTH0_APP_DOMAIN? And not YOUR_AUTH0_DOMAIN?
| ```env | ||
| AUTH0_DOMAIN=YOUR_AUTH0_APP_DOMAIN | ||
| AUTH0_CLIENT_ID=YOUR_AUTH0_APP_DOMAIN | ||
| AUTH0_CLIENT_SECRET=YOUR_AUTH0_APP_CLIENT_SECRET |
There was a problem hiding this comment.
Any reason we call this YOUR_AUTH0_APP_CLIENT_SECRET? And not YOUR_AUTH0_CLIENT_SECRET?
|
|
||
| ```typescript | ||
| // index.ts | ||
| import 'dotenv/config'; |
There was a problem hiding this comment.
Above we say "you can also install dotenv", yet here we assume it is used. Is that expected?
…nual creation under Dashboard section
|
@frederikprijck Thanks for reviewing.
|
By submitting a PR to this repository, you agree to the terms within the Auth0 Code of Conduct. Please see the contributing guidelines for how to create and submit a high-quality PR for this repo.
Description
Adds a new QuickStart for auth0-hono SDK to get started with
Honobased web application.References
Code for the setup has been referenced from repo examples -
Testing
Checklist