Skip to content
Open
Show file tree
Hide file tree
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 Mar 23, 2026
117d847
fix: updated the logout and callback URLs
KartikJha Mar 24, 2026
f9d1273
docs: updated docs to fix PR checks
KartikJha Mar 24, 2026
1405dcc
feat: added request param substitution
KartikJha Mar 24, 2026
368d5e0
feat: req param parse and sub, envvalues parse and sub
KartikJha Mar 24, 2026
81f9929
chore: lint fixes
KartikJha Mar 24, 2026
b28f974
chore: lint fixes
KartikJha Mar 24, 2026
f76f6c5
chore: lint fix
KartikJha Mar 24, 2026
64d0bc6
fix: lint build fix
KartikJha Mar 24, 2026
1ea351c
chore: lint fix
KartikJha Mar 24, 2026
0d5cb30
fix: added review fixes, added none key fix for API creation
KartikJha Mar 30, 2026
bab4412
fix: lint fixes
KartikJha Mar 31, 2026
7844205
feat: project detection support added
KartikJha Mar 30, 2026
26d0d84
fix: review comment changes
KartikJha Mar 31, 2026
ca575ef
fix: linter fixes
KartikJha Mar 31, 2026
87d40a0
build: test cases added, docs updated
KartikJha Apr 2, 2026
6c111ec
fix: linter fixes
KartikJha Apr 2, 2026
3be6797
fix: lint errors
KartikJha Apr 2, 2026
1237b0c
fix: linter fixes
KartikJha Apr 2, 2026
58aa4e7
build: dev test changes
KartikJha Apr 6, 2026
d8af4a3
fix: dev test messages updated
KartikJha Apr 7, 2026
de0e7d4
fix: flag support added
KartikJha Apr 7, 2026
6ae82dc
feat: linking APP and API using client grants API of go-auth0
KartikJha Apr 8, 2026
38768e7
fix: product review report fixes
KartikJha Apr 8, 2026
1b793cb
fix: app and api linking warning
KartikJha Apr 9, 2026
c37dcc3
chore: lint fixes
KartikJha Apr 9, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/auth0_quickstarts.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ Step-by-step guides to quickly integrate Auth0 into your application.
- [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

1 change: 1 addition & 0 deletions docs/auth0_quickstarts_download.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,6 @@ auth0 quickstarts download [flags]
- [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


1 change: 1 addition & 0 deletions docs/auth0_quickstarts_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,6 @@ auth0 quickstarts list [flags]
- [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


72 changes: 72 additions & 0 deletions docs/auth0_quickstarts_setup-experimental.md
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")
Comment on lines +47 to +49
Copy link
Copy Markdown
Contributor

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

--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


1 change: 1 addition & 0 deletions docs/auth0_quickstarts_setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,6 @@ auth0 quickstarts setup [flags]
- [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


3 changes: 3 additions & 0 deletions internal/auth0/client_grant.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ import (
)

type ClientGrantAPI interface {
// Create a client grant.
Create(ctx context.Context, g *management.ClientGrant, opts ...management.RequestOption) error

// List all client grants.
List(ctx context.Context, opts ...management.RequestOption) (*management.ClientGrantList, error)
}
19 changes: 19 additions & 0 deletions internal/auth0/mock/client_grant_mock.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading