<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: React JS authentication with Laravel API	</title>
	<atom:link href="https://crosstechit.com/blog/2019/01/15/react-js-authentication-with-laravel-back-end/feed/" rel="self" type="application/rss+xml" />
	<link>https://crosstechit.com/blog/2019/01/15/react-js-authentication-with-laravel-back-end/</link>
	<description>Apps. Smart. Fun.</description>
	<lastBuildDate>Wed, 03 Jun 2020 11:39:48 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.9</generator>
	<item>
		<title>
		By: Daniel Isac		</title>
		<link>https://crosstechit.com/blog/2019/01/15/react-js-authentication-with-laravel-back-end/#comment-5</link>

		<dc:creator><![CDATA[Daniel Isac]]></dc:creator>
		<pubDate>Wed, 03 Jun 2020 11:39:48 +0000</pubDate>
		<guid isPermaLink="false">https://crosstechit.com/blog/?p=42#comment-5</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://crosstechit.com/blog/2019/01/15/react-js-authentication-with-laravel-back-end/#comment-4&quot;&gt;Dimitris Trechas&lt;/a&gt;.

When you install Passport in your project, using: &lt;code&gt;php artisan passport:install&lt;/code&gt;
It will generate you those secret keys which must be stored in &lt;code&gt;.env&lt;/code&gt; file. Those are used by Laravel Passport under the hood.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://crosstechit.com/blog/2019/01/15/react-js-authentication-with-laravel-back-end/#comment-4">Dimitris Trechas</a>.</p>
<p>When you install Passport in your project, using: <code>php artisan passport:install</code><br />
It will generate you those secret keys which must be stored in <code>.env</code> file. Those are used by Laravel Passport under the hood.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Dimitris Trechas		</title>
		<link>https://crosstechit.com/blog/2019/01/15/react-js-authentication-with-laravel-back-end/#comment-4</link>

		<dc:creator><![CDATA[Dimitris Trechas]]></dc:creator>
		<pubDate>Wed, 03 Jun 2020 11:20:14 +0000</pubDate>
		<guid isPermaLink="false">https://crosstechit.com/blog/?p=42#comment-4</guid>

					<description><![CDATA[Thanks a lot for this article it&#039;s really helpful. I have just one question. What is the purpose of
PERSONAL_CLIENT_ID=1
PERSONAL_CLIENT_SECRET=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
PASSWORD_CLIENT_ID=2
PASSWORD_CLIENT_SECRET=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

in the .env file? And should I set them up from oauth_clients table?]]></description>
			<content:encoded><![CDATA[<p>Thanks a lot for this article it&#8217;s really helpful. I have just one question. What is the purpose of<br />
PERSONAL_CLIENT_ID=1<br />
PERSONAL_CLIENT_SECRET=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx<br />
PASSWORD_CLIENT_ID=2<br />
PASSWORD_CLIENT_SECRET=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</p>
<p>in the .env file? And should I set them up from oauth_clients table?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Daniel Isac		</title>
		<link>https://crosstechit.com/blog/2019/01/15/react-js-authentication-with-laravel-back-end/#comment-2</link>

		<dc:creator><![CDATA[Daniel Isac]]></dc:creator>
		<pubDate>Sat, 18 Apr 2020 07:58:04 +0000</pubDate>
		<guid isPermaLink="false">https://crosstechit.com/blog/?p=42#comment-2</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://crosstechit.com/blog/2019/01/15/react-js-authentication-with-laravel-back-end/#comment-1&quot;&gt;Alexander&lt;/a&gt;.

Thanks for your feedback Alexander!
You are right. There are lot of refactoring in there, some taken from the referenced repository. 
Also the code regarding Redux is a bit clumsy.
I am preparing a new post with a simplified authentication without using Passport. Passport is usually too much for small/medium applications.
So the forthcoming post might fit better for you as the code will be cleaner.

In order to start the app you have to run in command line: &lt;code&gt;php artisan serve&lt;/code&gt; and run your project at: &lt;code&gt;localhost:8000&lt;/code&gt;]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://crosstechit.com/blog/2019/01/15/react-js-authentication-with-laravel-back-end/#comment-1">Alexander</a>.</p>
<p>Thanks for your feedback Alexander!<br />
You are right. There are lot of refactoring in there, some taken from the referenced repository.<br />
Also the code regarding Redux is a bit clumsy.<br />
I am preparing a new post with a simplified authentication without using Passport. Passport is usually too much for small/medium applications.<br />
So the forthcoming post might fit better for you as the code will be cleaner.</p>
<p>In order to start the app you have to run in command line: <code>php artisan serve</code> and run your project at: <code>localhost:8000</code></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Alexander		</title>
		<link>https://crosstechit.com/blog/2019/01/15/react-js-authentication-with-laravel-back-end/#comment-1</link>

		<dc:creator><![CDATA[Alexander]]></dc:creator>
		<pubDate>Sat, 18 Apr 2020 06:39:16 +0000</pubDate>
		<guid isPermaLink="false">https://crosstechit.com/blog/?p=42#comment-1</guid>

					<description><![CDATA[Nice job. I actually want to capture the essential idea on how to use Laravel Passport from which the APIs are consumed by React app in the frontend. 
I find your version contains a lot of refactoring both in backend and frontend that may confuse relative new guys like me. But alright, overall I can grasp the essential idea, although I couldn&#039;t pay attention to details of the Redux parts, because I am still lack in Redux.
But when I try the app in Chrome by providing my url : http://localhost/mylaravelprojects/passportauth2/public/
it results in a blank page.
When I open DevTools, there is a warning :
DevTools failed to parse SourceMap: http://localhost/mylaravelprojects/passportauth2/public/js/react-router.js.map
I use React-Router version 5, because with version 4, it also resulted a blank page, but with different warnings which related to the use of componentWillMount() in React-Router version 4.]]></description>
			<content:encoded><![CDATA[<p>Nice job. I actually want to capture the essential idea on how to use Laravel Passport from which the APIs are consumed by React app in the frontend.<br />
I find your version contains a lot of refactoring both in backend and frontend that may confuse relative new guys like me. But alright, overall I can grasp the essential idea, although I couldn&#8217;t pay attention to details of the Redux parts, because I am still lack in Redux.<br />
But when I try the app in Chrome by providing my url : <a href="http://localhost/mylaravelprojects/passportauth2/public/" rel="nofollow ugc">http://localhost/mylaravelprojects/passportauth2/public/</a><br />
it results in a blank page.<br />
When I open DevTools, there is a warning :<br />
DevTools failed to parse SourceMap: <a href="http://localhost/mylaravelprojects/passportauth2/public/js/react-router.js.map" rel="nofollow ugc">http://localhost/mylaravelprojects/passportauth2/public/js/react-router.js.map</a><br />
I use React-Router version 5, because with version 4, it also resulted a blank page, but with different warnings which related to the use of componentWillMount() in React-Router version 4.</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
