Skip to content

Enhance authentication middleware and store access logic#361

Merged
Stivenjs merged 1 commit into
mainfrom
cli
Oct 17, 2025
Merged

Enhance authentication middleware and store access logic#361
Stivenjs merged 1 commit into
mainfrom
cli

Conversation

@Stivenjs
Copy link
Copy Markdown
Contributor

This commit introduces improvements to the authentication middleware by adding detailed error handling for network issues in production and validating the Amplify configuration. Additionally, the store access middleware is updated to allow users with a free plan to access the '/my-store' route for plan selection, while simplifying the redirection logic for users without subscriptions. These changes enhance user experience and error resilience in the application.

This commit introduces improvements to the authentication middleware by adding detailed error handling for network issues in production and validating the Amplify configuration. Additionally, the store access middleware is updated to allow users with a free plan to access the '/my-store' route for plan selection, while simplifying the redirection logic for users without subscriptions. These changes enhance user experience and error resilience in the application.
Comment thread lib/debug/auth-debug.ts Dismissed
Comment thread lib/debug/auth-debug.ts Dismissed
@Stivenjs Stivenjs merged commit ff8a509 into main Oct 17, 2025
3 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants