Skip to content

audit: logs for new OIDC Users #6108

@MichaelGerhart

Description

@MichaelGerhart

Problem Summary

After implementation of #5925 user logins are getting appropriately audited, however if a NEW OIDC users logs in that does not have a local Coder user profile yet, the audit log shows "an unknown user logged in" creating a less than useful audit log message.

image

Expected Behavior

Coder should likely be creating the local user profile and then creating the audit record.

Steps To Reproduce The Problem

  1. Install coder and setup OIDC Authentication
  2. login with OIDC as a new user

Metadata

Metadata

Assignees

Labels

s2Broken use cases or features (with a workaround). Only humans may set this.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions