docs: update Angular guide for SDK v2 - #1498
Merged
Merged
Conversation
Deploying logto-docs with
|
| Latest commit: |
63a316b
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://2e305a06.logto-docs.pages.dev |
| Branch Preview URL: | https://charles-angular-sdk-v2-guide.logto-docs.pages.dev |
Deploying logto-docs-tutorials with
|
| Latest commit: |
63a316b
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://6c82c49a.logto-docs-tutorials.pages.dev |
| Branch Preview URL: | https://charles-angular-sdk-v2-guide.logto-docs-tutorials.pages.dev |
simeng-li
approved these changes
Sep 10, 2026
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Guard callback handling with isSignInRedirected() to avoid rejecting direct visits.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Pull request overview
Updates the Angular quick start for @logto/angular v2 with native SDK integration, Signals, callback handling, API resources, and organization tokens.
Changes:
- Replaces the third-party OIDC integration with the first-party Angular SDK.
- Adds claims, userinfo, resource, refresh, and organization-token examples.
- Documents Bearer authorization headers and multiple resource configurations.
File summaries
| File | Summary |
|---|---|
docs/quick-starts/framework/angular/README.mdx |
Updates prerequisites and SDK guidance. |
docs/quick-starts/framework/angular/code/_get-organization-access-token-code.md |
Adds organization-token retrieval. |
docs/quick-starts/framework/angular/code/_get-access-token-code.md |
Adds API access-token retrieval. |
docs/quick-starts/framework/angular/code/_config-resources-with-shared-scopes-code.md |
Adds shared-scope configuration. |
docs/quick-starts/framework/angular/code/_config-resources-with-scopes-code.md |
Adds resource-specific scopes. |
docs/quick-starts/framework/angular/code/_config-resources-code.md |
Adds multiple resource configuration. |
docs/quick-starts/framework/angular/code/_config-organization-code.md |
Adds organization scope configuration. |
docs/quick-starts/framework/angular/_integration.mdx |
Adds provider, routing, callback, and authentication examples. Direct callback visits should check isSignInRedirected() before calling handleSignInCallback(). |
docs/quick-starts/framework/angular/_installation.mdx |
Updates package installation. |
docs/quick-starts/framework/angular/_guide-tip.md |
References the first-party SDK and sample. |
docs/quick-starts/framework/angular/_get-user-information.mdx |
Adds Signals-based claims and userinfo examples. |
docs/quick-starts/framework/angular/_api-resources.mdx |
Adds resource, organization-token, refresh, and header guidance. |
Review details
- Files reviewed: 12/12 changed files
- Comments generated: 1
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
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.
Summary
Update the Angular quick start for
@logto/angularv2 and align its sections with the React guide. Replace the third-party OIDC integration with native providers and Signals, and document callback handling, user claims, and userinfo requests.Add examples for multiple API resources, shared scopes, resource access tokens and refresh behavior, organization tokens, and Bearer request headers. Remove the obsolete restriction that prevented userinfo requests when API resources were configured.
Testing
Tested locally