Skip to content

Conversation

@bokelley
Copy link
Contributor

Problem

After creating a service account successfully, the UI was not showing the service account details. Instead, it continued to show the "Create Service Account" button.

Root Cause

The adapter_config_dict passed to the template in tenant_settings() was missing the service_account_email field. It only included network_code, refresh_token, trafficker_id, and application_name, but NOT service_account_email.

Solution

Added service_account_email to the adapter_config_dict so the template can correctly detect when a service account exists and display:

  • Service account email with copy button
  • Next steps for adding to GAM
  • Test Connection button

Testing

  • Verified the field is now included in the dict
  • Template logic already handles this correctly
  • UI will now properly display service account details after creation

🤖 Generated with Claude Code

Co-Authored-By: Claude noreply@anthropic.com

The tenant settings page wasn't showing the service account email after
creation because the adapter_config_dict passed to the template was
missing the service_account_email field.

Now the UI will properly show:
- Service account email with copy button
- Next steps for adding to GAM
- Test Connection button

Instead of incorrectly showing the 'Create Service Account' button again.
@bokelley bokelley merged commit c36aef6 into main Oct 20, 2025
8 checks passed
EmmaLouise2018 pushed a commit that referenced this pull request Oct 24, 2025
#517)

The tenant settings page wasn't showing the service account email after
creation because the adapter_config_dict passed to the template was
missing the service_account_email field.

Now the UI will properly show:
- Service account email with copy button
- Next steps for adding to GAM
- Test Connection button

Instead of incorrectly showing the 'Create Service Account' button again.
danf-newton pushed a commit to Newton-Research-Inc/salesagent that referenced this pull request Nov 24, 2025
adcontextprotocol#517)

The tenant settings page wasn't showing the service account email after
creation because the adapter_config_dict passed to the template was
missing the service_account_email field.

Now the UI will properly show:
- Service account email with copy button
- Next steps for adding to GAM
- Test Connection button

Instead of incorrectly showing the 'Create Service Account' button again.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants