-
-
Notifications
You must be signed in to change notification settings - Fork 253
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add authentication examples #3135
Conversation
d7e380b
to
4c1c3f9
Compare
@@ -62,7 +62,7 @@ If your application has dependencies other than `@mui/toolpad`, you have to temp | |||
1. Make sure to start the build in watch mode again and the run the app with | |||
|
|||
```bash | |||
pnpm toolpad dev examples/qr-generator --dev | |||
pnpm toolpad dev examples/qr-generator/toolpad --dev |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If I don't include /toolpad
it creates the files outside the toolpad
folder, that's not expected, right? Or am I doing something wrong?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did this get resolved?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It works well after this change and it matches the command that was already in step 3 above it, so I'm pretty sure this should be the way to write it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👌
Add examples of authentication for Github and Google, but without the needed environment variables which would need to be added by the person who tries the example.
The examples have
.env.example
files that show what environment variables can be set, plus the READMEs link to the relevant documentation.