TeskaLabs / seacat-auth

SeaCat Auth provides authentication, authorization, identity management, session management and other access control features.
GNU General Public License v3.0
11 stars 7 forks source link

Consider unification of ANONYMOUS_SESSION_CREATED and LOGIN_SUCCESS in audit log #225

Open ateska opened 1 year ago

ateska commented 1 year ago

These are basically the same events.

byewokko commented 10 months ago

LOGIN_SUCCESS relates to user authentication and to the creation of a new root session. there is also AUTHORIZE_SUCCESS, which relates to authorization (at /oauth/authorize endpoint) and to the creation of a new client subsession. ANONYMOUS_SESSION_CREATED is somewhere in between, but imo closer to authorization since it's basically authorization without proper authentication.

i suggest replacing the above with these two events:

ateska commented 10 months ago

Ok, I agree.