Skip to content

Conversation

@KeepingRunning
Copy link
Member

Description

This change allows the user-service to work with both real GitHub API and mock GitHub services by dynamically injecting API endpoints during OAuth flows, improving development and testing capabilities.

Warning

⚠️ Security Note: Users can be created using mock GitHub services. Ensure proper validation in production environments.

Related Issue

Closes #19

Comment on lines +26 to +28
optional string auth_url = 3;
optional string token_url = 4;
optional string api_base_url = 5;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not making sense for me.

If it's a completly copied GitHub OAuth API, these url don't need to be changed (since changing GitHub BaseURL will be enough).

@slhmy
Copy link
Member

slhmy commented Jul 11, 2025

Closed for unwanted.

@slhmy slhmy closed this Jul 11, 2025
@KeepingRunning KeepingRunning deleted the Url-injection branch July 15, 2025 05:45
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.

Support Url Injection for mock oauth service test

3 participants