Skip to content

Conversation

@LunarX
Copy link
Contributor

@LunarX LunarX commented Nov 25, 2025

Factorize and share the login logic so we don't have to duplicated it in each app or even worse, multiple times in the same app.

the coed goes in the Auth module with all authentication related logic.

The code now avoids nested lambdas and returns results we can process at each step in order to have a more straight forward code

@LunarX LunarX requested review from sirambd and tevincent November 25, 2025 12:21
@LunarX LunarX self-assigned this Nov 25, 2025
@LunarX LunarX added the feature A new functionality is added to the product label Nov 25, 2025
Copy link
Member

@sirambd sirambd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't forget to move all login module files into Auth

@LunarX LunarX requested a review from sirambd November 26, 2025 14:07
@LunarX LunarX force-pushed the extract-login-logic branch 2 times, most recently from ebaeeb3 to 79f709a Compare November 27, 2025 13:01
@LouisCAD LouisCAD dismissed their stale review November 27, 2025 15:08

The required change has been done.

@LunarX LunarX force-pushed the extract-login-logic branch from 7bbec0f to 5ddec9a Compare December 1, 2025 09:33
@sonarqubecloud
Copy link

sonarqubecloud bot commented Dec 1, 2025

@sirambd sirambd merged commit b21f06f into main Dec 1, 2025
8 checks passed
@sirambd sirambd deleted the extract-login-logic branch December 1, 2025 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature A new functionality is added to the product

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants