Commit 284b24f
Refactor connectAccountWithRedirect to Use Top-Level Scopes and Upgrade Auth0 SPA JS to v2.9.0 (#933)
## 📝 Pull Request Description
Completes this PR - #930
### 🔄 Changes
- Updated Auth0 SPA JS dependency from version 2.7.0 to 2.9.0.
- Refactored the connectAccountWithRedirect API to use a dedicated
scopes parameter instead of nesting it within authorization_params.
- Updated documentation examples to reflect the new API structure for
connecting third-party accounts.
### 🧪 Testing
- Verified unit test
### 💥 Impact
- Developers will have a cleaner API for specifying scopes when
connecting third-party accounts.
- The update improves consistency with other Auth0 SDK methods that use
a top-level scopes parameter.
- No breaking changes expected as this appears to be an API enhancement.
### 📋 Checklist
- [ ] Code follows the project's coding standards
- [ ] Tests have been added/updated
- [ ] Documentation has been updated
- [ ] All tests are passing
---------
Co-authored-by: guabu <[email protected]>
Co-authored-by: Arpit Jain <[email protected]>1 parent 664248f commit 284b24f
File tree
4 files changed
+10
-11
lines changed- src
4 files changed
+10
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
658 | 658 | | |
659 | 659 | | |
660 | 660 | | |
661 | | - | |
| 661 | + | |
662 | 662 | | |
663 | | - | |
| 663 | + | |
664 | 664 | | |
665 | 665 | | |
666 | 666 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
| 98 | + | |
99 | 99 | | |
100 | 100 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
129 | | - | |
130 | | - | |
131 | | - | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
| |||
0 commit comments