Skip to content

gwy: Auth0 log-ins and memory profiling - #343

Merged
mjcurran merged 4 commits into
masterfrom
mjcurran/auth0-and-profiling
Sep 1, 2026
Merged

gwy: Auth0 log-ins and memory profiling#343
mjcurran merged 4 commits into
masterfrom
mjcurran/auth0-and-profiling

Conversation

@mjcurran

@mjcurran mjcurran commented Aug 31, 2026

Copy link
Copy Markdown
Collaborator

SFDS-340
Restores dual sign-in functionality (Auth0 and uname/password).
Adds a memory profiler annotation to help debug out-of-memory issues.


Note

Low Risk
Changes are limited to login navigation, template/CSS copy, and an optional diagnostics decorator with no auth logic changes in Python.

Overview
Restores dual sign-in by routing the navbar Sign In link to account_login when SOCIALACCOUNT_ONLY is off, and to auth0_login when social-only mode is enabled (previously the nav always pointed at Auth0).

Social login UI is updated: provider buttons use Continue with {provider} copy, a shared bracket icon, and new social-provider-button / .provider-list styles for a full-width grid layout on the hero. The optional third-party section heading now says third-party ID provider.

Adds a new @profile_memory decorator in api_methods/utils/profilers.py that uses tracemalloc (with a lock for nested calls) and logs current/peak MB via loguru to help debug OOM issues.

Reviewed by Cursor Bugbot for commit 502bdbd. Bugbot is set up for automated code reviews on this repo. Configure here.

@mjcurran
mjcurran requested a review from klpoland August 31, 2026 18:17
Comment thread gateway/sds_gateway/api_methods/utils/profilers.py Outdated

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 502bdbd. Configure here.

Comment thread gateway/sds_gateway/api_methods/utils/profilers.py
@mjcurran
mjcurran merged commit 502bdbd into master Sep 1, 2026
4 checks passed
@mjcurran
mjcurran deleted the mjcurran/auth0-and-profiling branch September 1, 2026 13:22
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.

1 participant