-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat!: refactor login processes #162
Conversation
BREAKING CHANGE: this is dependent on auth-server v8+
CI Failure Feedback 🧐(Checks updated until commit 0fa67e5)
✨ CI feedback usage guide:The CI feedback tool (
In addition to being automatically triggered, the tool can also be invoked manually by commenting on a PR:
where Configuration options
See more information about the |
PR Reviewer Guide 🔍
|
PR Code Suggestions ✨
|
Bundle Size
Overall bundle size: 14.26 KB (-3.54 KB -19.89%) |
User description
BREAKING CHANGE: this is dependent on auth-server v8+
PR Type
Enhancement, Bug fix
Description
LOGIN
andREFRESH
.fingerprint
logic and related parameters across multiple files.authenticationType
.loginUser
instead ofauthenticateUser
.@versini/ui-fingerprint
dependency frompackage.json
.Changes walkthrough 📝
constants.ts
Add new API types for login and refresh
packages/auth-common/src/components/constants.ts
LOGIN
andREFRESH
.constants.ts
Update GraphQL query parameters for authentication
packages/auth-provider/src/common/constants.ts
fingerprint
withsessionExpiration
inVERIFY_AUTHENTICATION
.types.d.ts
Simplify and update authentication-related types
packages/auth-provider/src/common/types.d.ts
AuthenticationTypes
type.RestCallProps
andLoginProps
types.utilities.ts
Refactor authentication utilities and remove fingerprint
packages/auth-provider/src/common/utilities.ts
fingerprint
parameter from functions.authenticateUser
tologinUser
.AUTHENTICATE
toLOGIN
andREFRESH
.AuthContext.ts
Simplify AuthContext by removing authenticationType
packages/auth-provider/src/components/AuthProvider/AuthContext.ts
authenticationType
fromAuthContext
.AuthProvider.tsx
Refactor AuthProvider to remove fingerprint and update login
packages/auth-provider/src/components/AuthProvider/AuthProvider.tsx
loginUser
.reducer.ts
Simplify reducer by removing authenticationType
packages/auth-provider/src/components/AuthProvider/reducer.ts
authenticationType
from reducer actions.package.json
Remove unused fingerprint dependency
packages/auth-provider/package.json
@versini/ui-fingerprint
dependency.