<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Initial page load remove the landing page and just load the login form]]></title><description><![CDATA[<p dir="auto">I need help, I am  just trying to load the FusionAuth login screen without showing the landing page with the login button first. I am not sure how to automate the event that redirects and loads the FusionAuth login page in my react application.</p>
]]></description><link>https://fusionauth.io/community/forum/topic/2410/initial-page-load-remove-the-landing-page-and-just-load-the-login-form</link><generator>RSS for Node</generator><lastBuildDate>Mon, 20 Jul 2026 12:51:56 GMT</lastBuildDate><atom:link href="https://fusionauth.io/community/forum/topic/2410.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 07 Jun 2023 16:23:41 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Initial page load remove the landing page and just load the login form on Mon, 26 Jun 2023 21:12:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://fusionauth.io/community/forum/uid/2408">@jacksontrevan</a> - Let me start of by saying I am not very familiar with React applications.  However, thinking about typical application flow, What would happen if the user was already logged in?  Can't you get the login screen by just directing them to a secured page vs a "landing page"?</p>
]]></description><link>https://fusionauth.io/community/forum/post/6240</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/6240</guid><dc:creator><![CDATA[mark.robustelli]]></dc:creator><pubDate>Mon, 26 Jun 2023 21:12:27 GMT</pubDate></item><item><title><![CDATA[Reply to Initial page load remove the landing page and just load the login form on Wed, 21 Jun 2023 15:40:36 GMT]]></title><description><![CDATA[<p dir="auto">Your approach is assuming I built my own login component. I want to use the login UI generated by FusionAuth, when the user clicks on the login button that is a component inside the fusionauth react-sdk. I want to completely remove this initial workflow, so when the user launches the application the root route with redirect the user to /oauth2/authorize endpoint.</p>
]]></description><link>https://fusionauth.io/community/forum/post/6229</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/6229</guid><dc:creator><![CDATA[jacksontrevan]]></dc:creator><pubDate>Wed, 21 Jun 2023 15:40:36 GMT</pubDate></item><item><title><![CDATA[Reply to Initial page load remove the landing page and just load the login form on Wed, 14 Jun 2023 14:00:27 GMT]]></title><description><![CDATA[<p dir="auto">To achieve this, you'll need to use a routing mechanism in your React application to handle the navigation flow. One popular library for managing routes in React is React Router. Here's a step-by-step guide on how you can automate the redirect to the FusionAuth login page:</p>
<p dir="auto">Install React Router in your project by running the following command in your terminal:<br />
Copy code<br />
npm install react-router-dom<br />
In your React application, create a new file (let's call it AppRouter.js) where you'll define your routes. Import the necessary components from React Router:<br />
jsx<br />
Copy code<br />
import { BrowserRouter as Router, Route, Redirect } from 'react-router-dom';<br />
import { FusionAuthLogin } from './FusionAuthLogin'; // Replace with the actual component for FusionAuth login<br />
Set up your routes within the Router component. Define a route that matches the landing page and redirects to the FusionAuth login page:<br />
jsx<br />
Copy code<br />
const AppRouter = () =&gt; {<br />
return (<br />
&lt;Router&gt;<br />
&lt;Route exact path="/"&gt;<br />
&lt;Redirect to="/login" /&gt;<br />
&lt;/Route&gt;<br />
&lt;Route path="/login" component={FusionAuthLogin} /&gt;<br />
{/* Add more routes for other pages in your application */}<br />
&lt;/Router&gt;<br />
);<br />
};</p>
<p dir="auto">export default AppRouter;</p>
]]></description><link>https://fusionauth.io/community/forum/post/6217</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/6217</guid><dc:creator><![CDATA[jamesseoexpert12]]></dc:creator><pubDate>Wed, 14 Jun 2023 14:00:27 GMT</pubDate></item></channel></rss>