Conversation
- Add ListOAuthProviders RPC to proto service definition - Add ListOAuthProvidersRequest, OAuthProviderStatus, ListOAuthProvidersResponse message types - Regenerate Go gRPC, gateway, and OpenAPI code - Implement ListOAuthProviders on Service struct with config checks - Add unit tests for enabled, missing_client_id, missing_client_secret cases Agent-Logs-Url: https://github.com/poly-workshop/identra/sessions/1900f5cd-d4e7-4b85-b36d-afae6190e73c Co-authored-by: slhmy <31381093+slhmy@users.noreply.github.com>
Agent-Logs-Url: https://github.com/poly-workshop/identra/sessions/1900f5cd-d4e7-4b85-b36d-afae6190e73c Co-authored-by: slhmy <31381093+slhmy@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add endpoint for OAuth provider availability
Add GET /oauth/providers endpoint for OAuth provider availability
Apr 12, 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.
BFF/frontend has no way to know whether OAuth providers are configured before rendering login options, leading to broken "Login with GitHub" buttons when OAuth is misconfigured.
Changes
ListOAuthProvidersRPC mapped toGET /oauth/providerswithOAuthProviderStatusmessage type (name, enabled, optional reason)client_idandclient_secretpresence, returns machine-readable disable reasonsprotocResponse shape
{"providers": [{"name": "github", "enabled": true}]}{"providers": [{"name": "github", "enabled": false, "reason": "missing_client_id"}]}Providers are sorted alphabetically for deterministic ordering.
Warning
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:
buf.build/home/REDACTED/go/bin/buf buf generate 4Kwm452TDXZMOUiLiUG4/4Kwm452TDXZMOUiLiUG4 l/linux_amd64/compile go1.25.9 -c=4 -nolocalimports -importcfg /tmp/go-build1844953333/b748/importcfg(dns block)If you need me to access, download, or install something from one of these locations, you can either: