-
Notifications
You must be signed in to change notification settings - Fork 71
feat: project detection support added #1476
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
Open
KartikJha
wants to merge
26
commits into
main
Choose a base branch
from
DXCDT-1555/tool-detection-module
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
e76b089
feat: added toolchain to env and request params config and no detecti…
KartikJha 117d847
fix: updated the logout and callback URLs
KartikJha f9d1273
docs: updated docs to fix PR checks
KartikJha 1405dcc
feat: added request param substitution
KartikJha 368d5e0
feat: req param parse and sub, envvalues parse and sub
KartikJha 81f9929
chore: lint fixes
KartikJha b28f974
chore: lint fixes
KartikJha f76f6c5
chore: lint fix
KartikJha 64d0bc6
fix: lint build fix
KartikJha 1ea351c
chore: lint fix
KartikJha 0d5cb30
fix: added review fixes, added none key fix for API creation
KartikJha bab4412
fix: lint fixes
KartikJha 7844205
feat: project detection support added
KartikJha 26d0d84
fix: review comment changes
KartikJha ca575ef
fix: linter fixes
KartikJha 87d40a0
build: test cases added, docs updated
KartikJha 6c111ec
fix: linter fixes
KartikJha 3be6797
fix: lint errors
KartikJha 1237b0c
fix: linter fixes
KartikJha 58aa4e7
build: dev test changes
KartikJha d8af4a3
fix: dev test messages updated
KartikJha de0e7d4
fix: flag support added
KartikJha 6ae82dc
feat: linking APP and API using client grants API of go-auth0
KartikJha 38768e7
fix: product review report fixes
KartikJha 1b793cb
fix: app and api linking warning
KartikJha c37dcc3
chore: lint fixes
KartikJha File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,72 @@ | ||
| --- | ||
| layout: default | ||
| parent: auth0 quickstarts | ||
| has_toc: false | ||
| --- | ||
| # auth0 quickstarts setup-experimental | ||
|
|
||
| Creates an Auth0 application and/or API and generates a config file with the necessary Auth0 settings. | ||
|
|
||
| The command will: | ||
| 1. Check if you are authenticated (and prompt for login if needed) | ||
| 2. Auto-detect your project framework from the current directory | ||
| 3. Create an Auth0 application and/or API resource server | ||
| 4. Generate a config file with the appropriate environment variables | ||
|
|
||
| Supported frameworks are dynamically loaded from the QuickstartConfigs map. | ||
|
|
||
| ## Usage | ||
| ``` | ||
| auth0 quickstarts setup-experimental [flags] | ||
| ``` | ||
|
|
||
| ## Examples | ||
|
|
||
| ``` | ||
| auth0 quickstarts setup-experimental | ||
| auth0 quickstarts setup-experimental --app --framework react --type spa | ||
| auth0 quickstarts setup-experimental --api --identifier https://my-api | ||
| auth0 quickstarts setup-experimental --app --api --name "My App" | ||
| ``` | ||
|
|
||
|
|
||
| ## Flags | ||
|
|
||
| ``` | ||
| --api Create an Auth0 API resource server | ||
| --app Create an Auth0 application (SPA, regular web, or native) | ||
| --audience string Alias for --identifier (unique audience URL for the API) | ||
| --build-tool string Build tool used by the project (vite, webpack, cra, none) (default "none") | ||
| --callback-url string Override the allowed callback URL for the application | ||
| --framework string Framework to configure (e.g., react, nextjs, vue, express) | ||
| --identifier string Unique URL identifier for the API (audience), e.g. https://my-api | ||
| --logout-url string Override the allowed logout URL for the application | ||
| --name string Name of the Auth0 application | ||
| --offline-access Allow offline access (enables refresh tokens) | ||
| --port int Local port the application runs on (default varies by framework, e.g. 3000, 5173) | ||
| --scopes string Comma-separated list of permission scopes for the API | ||
| --signing-alg string Token signing algorithm: RS256, PS256, or HS256 (leave blank to be prompted interactively) | ||
| --token-lifetime string Access token lifetime in seconds (default: 86400 = 24 hours) (default "86400") | ||
| --type string Application type: spa, regular, or native | ||
| --web-origin-url string Override the allowed web origin URL for the application | ||
| ``` | ||
|
|
||
|
|
||
| ## Inherited Flags | ||
|
|
||
| ``` | ||
| --debug Enable debug mode. | ||
| --no-color Disable colors. | ||
| --no-input Disable interactivity. | ||
| --tenant string Specific tenant to use. | ||
| ``` | ||
|
|
||
|
|
||
| ## Related Commands | ||
|
|
||
| - [auth0 quickstarts download](auth0_quickstarts_download.md) - Download a Quickstart sample app for a specific tech stack | ||
| - [auth0 quickstarts list](auth0_quickstarts_list.md) - List the available Quickstarts | ||
| - [auth0 quickstarts setup](auth0_quickstarts_setup.md) - Set up Auth0 for your quickstart application | ||
| - [auth0 quickstarts setup-experimental](auth0_quickstarts_setup-experimental.md) - Set up Auth0 for your quickstart application | ||
|
|
||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Highlight that these flags are for the API