Issue sign in with Microsoft

ERROR [Better Auth]:  {
  error: 'invalid_request',
  error_description: "AADSTS90023: Public clients can't send a client trace_id Correlation ID: correlation_id Timestamp: 2025-07-17 06:21:43Z",
  error_codes: [ 90023 ],
  timestamp: '2025-07-17 06:21:43Z',
  trace_id: 'trace_id',
  correlation_id: 'correlation_id',
  status: 400,
  statusText: 'Bad Request'
}

I getting following error in my local environment, after adding the "correct" secret and clientId. What did I miss? I used the clientId which is provided overview page and the secret from secret-page which you can see on my screenshot.
Screenshot_2025-07-17_at_08.27.48.jpg
Was this page helpful?