ClientSIde-code-sample icon indicating copy to clipboard operation
ClientSIde-code-sample copied to clipboard

add message regarding client side auth

Open ldlockhart opened this issue 1 year ago • 0 comments

This PR adds a security warning to the README.md for the client-side sample app.

Currently, the "Getting Started" guide instructs users to place their client_secret directly in the index.html. This is an insecure pattern for production environments as it exposes sensitive credentials in the browser. The added warning block clarifies that this sample is for demonstration purposes only. It explicitly advises against this practice for production and links to the official documentation for implementing the recommended, secure server-side authentication flow. This helps prevent developers from inadvertently carrying an insecure pattern into their applications.

ldlockhart avatar Sep 19 '25 20:09 ldlockhart