feat(react): add useOAuthAuthorize hook - #1217
Conversation
|
Claude finished @joshuaellis's task in 1m 19s —— View job Review: no further issues
No actionable issues found in the 51 added lines. What I checked
Not verified locallyI couldn't run |
Bundle Stats✅ No significant changes. All scenario measurements (8)🗺️
Significant means at least 1.0 KB and 1% gzip, or at least 5 ms and 10% import time. |
📚 TypeDoc Generation Result✅ TypeDoc generated successfully!
The package TypeDoc JSON files and combined HTML site have been generated successfully. |
Coverage Report
File Coverage
|
||||||||||||||||||||||||||||||||||||||
14edeaa to
0a93443
Compare
0a93443 to
666eafb
Compare
666eafb to
7f8e19f
Compare
|
Actioned: reworded to "the returned promise rejects" and the example now does |
7f8e19f to
0fc2089
Compare
0fc2089 to
79b4b73
Compare
4ca6d90 to
0d1ae89
Compare
0d1ae89 to
e7c9e3b
Compare
e7c9e3b to
1af1156
Compare
498e42d to
e53aa4b
Compare
e53aa4b to
e28d27c
Compare
e28d27c to
dd8a7d2
Compare
Description
Adds
useOAuthAuthorize, a hook that starts the OAuth authorization-code + PKCE flow by delegating to core'sstartOAuthAuthorization. It returns the bound action directly, matchinguseOAuthCallbackanduseLogOut, so apps get one consistent shape for auth callbacks. Config (clientId,redirectUri,organizationId) is read from the instance'sauth.oauth, so the hook takes no options.