Closed IanKrieger closed 1 month ago
[puLL-Merge] - brave/ads-ui@1303
This PR makes significant changes to the authentication process in the Brave Ads UI, particularly focusing on the magic link authentication flow. The changes aim to improve security and user experience during the login process.
The change from GET to POST requests in src/auth/lib/index.ts
for getLink
and authorize
functions improves security by not exposing sensitive data in URL parameters.
The explicit "Continue" button in the verification process (src/auth/views/AuthVerify.tsx
) adds an additional step of user confirmation before completing the login, which can help prevent automated login attempts.
The removal of automatic redirection after successful login in AuthVerify.tsx
might confuse users who are accustomed to the old flow. Clear instructions and UI feedback will be crucial to guide users through the new process.
The changes to the authorization process might require updates to any external systems or documentation that reference the old flow.
Features
1302
Fixes
1304
1305