KamoCRM

Share PostAuth***Service between login and enter-as

RefactorSecurityService
Shipped
April 23, 2026 at 11:46 PM UTC
Author
Kamo
Commit
7815848

Extract the post-authentication *** build (grant-all expansion, profile SQL, branch titles, createSession) into PostAuth***Service so enter-as uses the same code path as kamo-login after password validation. Enter-as builds AuthenticatedUser with provider org id and provider member id matching login SQL semantics, then calls the shared service before OTK.

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing