Conversation
Co-authored-by: dkrizic <1181349+dkrizic@users.noreply.github.com>
Co-authored-by: dkrizic <1181349+dkrizic@users.noreply.github.com>
Co-authored-by: dkrizic <1181349+dkrizic@users.noreply.github.com>
…hing Co-authored-by: dkrizic <1181349+dkrizic@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Improve authentication by moving it to service layer
Move authentication from UI to service layer with selective gRPC protection
Jan 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Authentication was UI-only. Now implemented at service layer with selective protection: Feature and Workload services require auth, Health and Meta remain public.
Implementation
gRPC Authentication
authorizationheader)authenticationRequiredboolean fieldUI Changes
PerRPCCredentialsCLI Changes
USERNAMEandPASSWORDflags/env vars addedHelm Configuration
authenticationfromui.authenticationtoservice.authenticationExample Usage
# CLI usage USERNAME=admin PASSWORD=secret feature-cli get mykeyWarning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
invalid/tmp/go-build3808816188/b430/delete.test /tmp/go-build3808816188/b430/delete.test -test.testlogfile=/tmp/go-build3808816188/b430/testlog.txt -test.paniconexit0 -test.timeout=10m0s /tmp/go-build696783221/b064/vet.cfg /sdk@v1.39.0/tra-errorsas mpile ux-amd64/pkg/tool/linux_amd64/vet -I d/authorization/-atomic -I ux-amd64/pkg/too-buildtags 7272�� g_.a pi@v0.35.0/autho-ifaceassert ux-amd64/pkg/tool/linux_amd64/vet --gdwarf-5 ce/internal/obse-atomic mpile ux-amd64/pkg/too-buildtags(dns block)/tmp/go-build3808816188/b433/get.test /tmp/go-build3808816188/b433/get.test -test.testlogfile=/tmp/go-build3808816188/b433/testlog.txt -test.paniconexit0 -test.timeout=10m0s /tmp/go-build696783221/b311/vet.cfg /sdk@v1.39.0/tra-errorsas /sdk@v1.39.0/tra-ifaceassert ux-amd64/pkg/tool/linux_amd64/vet -c ions/meta/v1 /tmp/go-build367-bool ux-amd64/pkg/too-buildtags -I g_.a pi@v0.35.0/certi-ifaceassert ux-amd64/pkg/tool/linux_amd64/vet --gdwarf-5 --64 mpile ux-amd64/pkg/too-buildtags(dns block)/tmp/go-build3808816188/b436/getall.test /tmp/go-build3808816188/b436/getall.test -test.testlogfile=/tmp/go-build3808816188/b436/testlog.txt -test.paniconexit0 -test.timeout=10m0s /tmp/go-build696783221/b339/vet.cfg o/otlp@v1.9.0/co-errorsas o/otlp@v1.9.0/co-ifaceassert ux-amd64/pkg/tool/linux_amd64/vet . ions/admissionre-atomic --64 ux-amd64/pkg/too-buildtags pkg/�� g_.a pi@v0.35.0/coord-ifaceassert ux-amd64/pkg/tool/linux_amd64/vet --gdwarf-5 ce/service/persi-atomic m ux-amd64/pkg/too-buildtags(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.