title: Integrate OpenID Connect Authentication on Laravel Project
body: <p>I have a site, and I am trying to integrate the OpenID Connect.</p>
  <p>Locally, when user visit : <code>http://127.0.0.1/user/login</code></p>
  <p>I redirect them to open id log-in page - if their session is not authenticated :</p>
  <pre><code>https://login.uat.site.be/openid/oauth/authorize?client_id=site&amp;state=28633813-cd2a-47aa-bb6f-62f623013a6c&amp;nonce=3d42b1c5-cc85-4264-a66c-e9e768ac0d1c&amp;response_type=code&amp;claims=%7B%22id_token%22%3A%7B%22http%3A%2F%2Fsite.be%2Fclaims%2Froles%22%3Anull%7D%7D
  </code></pre>
  <p>Then, user will prompt to enter their username and password, if success, they will redirect back to registered URL :</p>
  <pre><code>https://www.livesite.com/dashboard?code=fnJk7xhja0TiF2qKevqC7U94zuk6exwa&amp;state=28633813-cd2a-47aa-bb6f-62f623013a6c
  </code></pre>
  <p><strong>Note</strong> : I must registered : <a href="https://www.livesite.com/dashboard" rel="nofollow noreferrer">https://www.livesite.com/dashboard</a> with my OpenID Auth Server.</p>
  <p>Now, I want to access my <code>code</code> param locally, how do I do that  ?</p>
  <blockquote>
  <p><strong>Note</strong> : code=fnJk7xhja0TiF2qKevqC7U94zuk6exwa</p>
  </blockquote>
  <p>I understand that I register <code>https://www.livesite.com/dashboard</code> with my Auth Server, but, I need to finish my local development first before moving this to production.</p>
  <hr />
  <h1>Questions</h1>
  <p>Should I request the OpenID Auth Server to register my local route ?</p>
  <p>Will I have to make my local development HTTPS for this to work ?</p>