Skip to content

Comments

fix: update loginmethod endpoints#5681

Merged
HenryHengZJ merged 4 commits intomainfrom
fix/sso-config
Feb 3, 2026
Merged

fix: update loginmethod endpoints#5681
HenryHengZJ merged 4 commits intomainfrom
fix/sso-config

Conversation

@0xi4o
Copy link
Contributor

@0xi4o 0xi4o commented Jan 27, 2026

No description provided.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request disables the read, create, and update endpoints for loginmethod on the cloud platform by adding platform checks. The implementation is straightforward, but there are opportunities for improvement regarding code consistency and correctness of HTTP status codes. My review includes suggestions to use StatusCodes.FORBIDDEN instead of StatusCodes.BAD_REQUEST for better semantic accuracy, and to place all authorization checks in the controller layer for consistency. These suggestions align with best practices for implementing authorization checks to avoid unintended failures.

@0xi4o 0xi4o changed the title fix: disable loginmethod read, create, and update endpoints in cloud fix: update loginmethod endpoints Jan 28, 2026
@FlowiseAI FlowiseAI deleted a comment from gemini-code-assist bot Jan 28, 2026
@HenryHengZJ HenryHengZJ merged commit 06b8126 into main Feb 3, 2026
6 checks passed
vellanki-santhosh pushed a commit to vellanki-santhosh/Flowise that referenced this pull request Feb 17, 2026
* fix: disable loginmethod read, create, and update endpoints in cloud

* fix: refactor

* fix: status code

* fix: duplicated code and unused imports
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.

4 participants