<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>get property Archives - scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/tag/get-property/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/tag/get-property/</link>
	<description>A Platform for Software Engineers</description>
	<lastBuildDate>Thu, 20 May 2021 12:47:02 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1</generator>
	<item>
		<title>Laravel Passport Trying to get property &#8216;secret&#8217; of non-object</title>
		<link>https://www.scmgalaxy.com/tutorials/laravel-passport-trying-to-get-property-secret-of-non-object/</link>
					<comments>https://www.scmgalaxy.com/tutorials/laravel-passport-trying-to-get-property-secret-of-non-object/#respond</comments>
		
		<dc:creator><![CDATA[dharmendra K]]></dc:creator>
		<pubDate>Thu, 20 May 2021 12:47:02 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[get property]]></category>
		<category><![CDATA[laravel]]></category>
		<category><![CDATA[passport]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=6304</guid>

					<description><![CDATA[<p>THIS IS FOR LARAVEL 8 AND LARAVEL/PASSPORT The first thing is to run the php artisan passport:install. Inside your database table oauth_clients, [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/laravel-passport-trying-to-get-property-secret-of-non-object/">Laravel Passport Trying to get property &#8216;secret&#8217; of non-object</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">THIS IS FOR LARAVEL 8 AND LARAVEL/PASSPORT</p>



<figure class="wp-block-image size-large"><img fetchpriority="high" decoding="async" width="1024" height="519" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/error2-1024x519.jpg" alt="" class="wp-image-6305" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/error2-1024x519.jpg 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/error2-300x152.jpg 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/error2-768x389.jpg 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/error2.jpg 1366w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">The first thing is to run the <code>php artisan passport:install</code>.</p>



<figure class="wp-block-image size-large"><img decoding="async" width="544" height="203" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/268.jpg" alt="" class="wp-image-6310" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/268.jpg 544w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/268-300x112.jpg 300w" sizes="(max-width: 544px) 100vw, 544px" /></figure>



<p class="wp-block-paragraph">Inside your database table <em><strong>oauth_clients</strong></em>, under column <em><strong>name</strong></em>, look for <em><strong>Laravel Personal Access Client</strong></em>.</p>



<p class="wp-block-paragraph">Copy the&nbsp;<em><strong>secret</strong></em>&nbsp;beside&nbsp;<code>Laravel Personal Access Client</code>.</p>



<p class="wp-block-paragraph">Open <code>AuthServiceProvider</code>, then paste the secret inside the <em><strong>boot</strong></em> method where the <code>CLIENT_SECRET</code> is below:</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
Passport::personalAccessClientSecret(config(&#039;CLIENT_SECRET&#039;));

</pre></div>


<p class="wp-block-paragraph">And don&#8217;t forget to also add the ID of the secret from your database.</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
Passport::personalAccessClientId(config(&#039;ID&#039;));
</pre></div>


<figure class="wp-block-image size-large"><img decoding="async" width="655" height="318" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/2558.jpg" alt="" class="wp-image-6311" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/2558.jpg 655w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/2558-300x146.jpg 300w" sizes="(max-width: 655px) 100vw, 655px" /></figure>



<p class="wp-block-paragraph">Use the quote along with the ID and CLIENT_SECRET as config() is expected to get a string.</p>



<p class="wp-block-paragraph">Now is solved this error</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/laravel-passport-trying-to-get-property-secret-of-non-object/">Laravel Passport Trying to get property &#8216;secret&#8217; of non-object</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/laravel-passport-trying-to-get-property-secret-of-non-object/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
