feat(dev-portal) update Auth0 DCR how-to to use Konnect API#5643
Open
lmilan wants to merge 4 commits into
Open
feat(dev-portal) update Auth0 DCR how-to to use Konnect API#5643lmilan wants to merge 4 commits into
lmilan wants to merge 4 commits into
Conversation
✅ Deploy Preview for kongdeveloper ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the Auth0 Dynamic Client Registration (DCR) Dev Portal how-to to use Konnect API requests instead of Konnect UI steps, aligning the guide with the “API-first” workflow requested in #1559.
Changes:
- Adds
tools: [konnect-api]metadata and shifts prerequisites to API-based Dev Portal + API publishing setup. - Replaces UI-driven DCR provider and auth strategy configuration with
konnect_api_requestblocks for/v2/dcr-providersand/v2/application-auth-strategies. - Adds API-based instructions to apply the auth strategy to a published API via
/v3/apis/{apiId}/publications/{portalId}.
Comment on lines
+108
to
+110
| export CLIENT_ID='YOUR-AUTH0-CLIENT-ID' | ||
| export CLIENT_SECRET='YOUR-AUTH0-CLIENT-SECRET' | ||
| export ISSUER_URL='https://AUTH0_TENANT_SUBDOMAIN.us.auth0.com' |
Comment on lines
+111
to
+117
| 7. On the application's **Settings** tab, locate the values for **Client ID** and **Client Secret**, then export them: | ||
|
|
||
| ```sh | ||
| export CLIENT_ID='YOUR-AUTH0-CLIENT-ID' | ||
| export CLIENT_SECRET='YOUR-AUTH0-CLIENT-SECRET' | ||
| export ISSUER_URL='https://AUTH0_TENANT_SUBDOMAIN.us.auth0.com' | ||
| ``` |
Comment on lines
+155
to
+159
| provider_type: auth0 | ||
| issuer: "$ISSUER_URL" | ||
| dcr_config: | ||
| initial_client_id: "$CLIENT_ID" | ||
| initial_client_secret: "$CLIENT_SECRET" |
Comment on lines
+184
to
+186
| openid-connect: | ||
| issuer: "$ISSUER_URL" | ||
| credential_claim: |
Comment on lines
+163
to
+164
| {:.info} | ||
| > **Note:** If you're using a custom domain for Auth0, add `initial_client_audience: "$CLIENT_AUDIENCE"` to the `dcr_config`. If you're using Developer Managed Scopes, add `use_developer_managed_scopes: true` to the `dcr_config`. |
Comment on lines
9
to
+12
| 1. After the application is created, the Client ID and Client Secret will be displayed. | ||
| Make sure to store these values, as they will only be shown once. | ||
|
|
||
| 1. After the application is created, it will appear your IdP. From your IdP organization, select **Applications** from the sidebar. You will see the application created in the Dev Portal, along with its corresponding Client ID. | ||
| 1. After the application is created, it will appear in your IdP. From your IdP organization, select **Applications** from the sidebar. You will see the application created in the Dev Portal, along with its corresponding Client ID. |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
Fixes #1559
Preview Links
Checklist
descriptionentry in frontmatter.