ScottLogic / prompt-injection

Application which investigates defensive measures against prompt injection attacks on an LLM, with a focus on the exposure of external tools.
MIT License
13 stars 9 forks source link

807: Authentication for UI in production mode #851

Closed chriswilty closed 4 months ago

chriswilty commented 4 months ago

Description

Adds auth to the UI, in production mode.

When running the UI in dev mode (npm run dev) you shouldn't see the login. When running in preview mode (npm run build && npm run preview) you should see the login.

Resolves #807

Screenshots

Normal Zoom: image

150% Zoom: image

200% Zoom: image

image

image

Notes

Checklist

Have you done the following?

chriswilty commented 4 months ago

FYI @pmarsh-scottlogic, @dhinrichs-scottlogic

image

image