[PR #8274] [CLOSED] readme #8329

Closed
opened 2026-03-23 23:23:40 +00:00 by mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/8274
Author: @Monisha-official
Created: 10/9/2025
Status: Closed

Base: mainHead: main


📝 Commits (1)

📊 Changes

1 file changed (+105 additions, -157 deletions)

View changed files

📝 README.md (+105 -157)

📄 Description

  1. Verify the CSS Alignment Fix
    Action: Go to your running Refine application (http://localhost:3000) and navigate to any Edit page.

Test: Slowly resize your browser window to simulate a mobile screen (make it very narrow).

Expected Result: The "Save" and "Delete" buttons in the footer should wrap neatly to a new line when space runs out, and both buttons should remain aligned to the right of the card footer.

  1. Verify the Authentication Loop Fix
    Action: You need to trigger a session expiry or manually simulate an unauthorized state.

Test (Simulated):

Log in successfully.

Open your browser's Developer Tools → Application → Local Storage and delete the stored authToken (or whatever key you use).

Attempt to navigate to a restricted page or refresh the current page.

You should be redirected immediately to the /login page.

Expected Result: You should not see a flash of the main application or get stuck in a loop of redirects. The application should handle the session expiry cleanly and immediately land on the login screen.

Summary by Sourcery

Provide a sample refine authProvider implementation in place of the old README, including secure token storage, identity retrieval, and handling of expired sessions to prevent infinite redirects.

New Features:

  • Add a complete Refine AuthProvider implementation with login, logout, checkAuth, and getIdentity methods

Bug Fixes:

  • Fix infinite authentication redirect loop by handling 401/403 errors in onError and triggering logout

Documentation:

  • Replace outdated README content with usage example for the custom authProvider

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/AppFlowy-IO/AppFlowy/pull/8274 **Author:** [@Monisha-official](https://github.com/Monisha-official) **Created:** 10/9/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`d6aac5a`](https://github.com/AppFlowy-IO/AppFlowy/commit/d6aac5aec2d07a94999f8b040d04762b21451149) readme ### 📊 Changes **1 file changed** (+105 additions, -157 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+105 -157) </details> ### 📄 Description 1. Verify the CSS Alignment Fix ✅ Action: Go to your running Refine application (http://localhost:3000) and navigate to any Edit page. Test: Slowly resize your browser window to simulate a mobile screen (make it very narrow). Expected Result: The "Save" and "Delete" buttons in the footer should wrap neatly to a new line when space runs out, and both buttons should remain aligned to the right of the card footer. 2. Verify the Authentication Loop Fix ✅ Action: You need to trigger a session expiry or manually simulate an unauthorized state. Test (Simulated): Log in successfully. Open your browser's Developer Tools → Application → Local Storage and delete the stored authToken (or whatever key you use). Attempt to navigate to a restricted page or refresh the current page. You should be redirected immediately to the /login page. Expected Result: You should not see a flash of the main application or get stuck in a loop of redirects. The application should handle the session expiry cleanly and immediately land on the login screen. ## Summary by Sourcery Provide a sample refine authProvider implementation in place of the old README, including secure token storage, identity retrieval, and handling of expired sessions to prevent infinite redirects. New Features: - Add a complete Refine AuthProvider implementation with login, logout, checkAuth, and getIdentity methods Bug Fixes: - Fix infinite authentication redirect loop by handling 401/403 errors in onError and triggering logout Documentation: - Replace outdated README content with usage example for the custom authProvider --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
mirror 2026-03-23 23:23:40 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#8329
No description provided.