crowded

crowded

Member Since 3 Years Ago

Experience Points 5,820
Experience Level 2

4,180 experience to go until the next level!

In case you were wondering, you earn Laracasts experience when you:

  • Complete a lesson — 100pts
  • Create a forum thread — 50pts
  • Reply to a thread — 10pts
  • Leave a reply that is liked — 50pts
  • Receive a "Best Reply" award — 500pts
Lessons Completed 57
Lessons
Completed
Best Reply Awards 0
Best Reply
Awards
  • start-engines Created with Sketch.

    Start Your Engines

    Earned once you have completed your first Laracasts lesson.

  • first-thousand Created with Sketch.

    First Thousand

    Earned once you have earned your first 1000 experience points.

  • 1-year Created with Sketch.

    One Year Member

    Earned when you have been with Laracasts for 1 year.

  • 2-years Created with Sketch.

    Two Year Member

    Earned when you have been with Laracasts for 2 years.

  • 3-years Created with Sketch.

    Three Year Member

    Earned when you have been with Laracasts for 3 years.

  • 4-years Created with Sketch.

    Four Year Member

    Earned when you have been with Laracasts for 4 years.

  • 5-years Created with Sketch.

    Five Year Member

    Earned when you have been with Laracasts for 5 years.

  • school-session Created with Sketch.

    School In Session

    Earned when at least one Laracasts series has been fully completed.

  • welcome-newcomer Created with Sketch.

    Welcome To The Community

    Earned after your first post on the Laracasts forum.

  • full-time-student Created with Sketch.

    Full Time Learner

    Earned once 100 Laracasts lessons have been completed.

  • pay-it-forward Created with Sketch.

    Pay It Forward

    Earned once you receive your first "Best Reply" award on the Laracasts forum.

  • subscriber-token Created with Sketch.

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • lifer-token Created with Sketch.

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • lara-evanghelist Created with Sketch.

    Laracasts Evangelist

    Earned if you share a link to Laracasts on social media. Please email [email protected] with your username and post URL to be awarded this badge.

  • chatty-cathy Created with Sketch.

    Chatty Cathy

    Earned once you have achieved 500 forum replies.

  • lara-veteran Created with Sketch.

    Laracasts Veteran

    Earned once your experience points passes 100,000.

  • 10k-strong Created with Sketch.

    Ten Thousand Strong

    Earned once your experience points hits 10,000.

  • lara-master Created with Sketch.

    Laracasts Master

    Earned once 1000 Laracasts lessons have been completed.

  • laracasts-tutor Created with Sketch.

    Laracasts Tutor

    Earned once your "Best Reply" award count is 100 or more.

  • laracasts-sensei Created with Sketch.

    Laracasts Sensei

    Earned once your experience points passes 1 million.

  • top-50 Created with Sketch.

    Top 50

    Earned once your experience points ranks in the top 50 of all Laracasts users.

12 Aug
2 years ago

crowded left a reply on My Token Based Guard For Laravel 5.2

I have a remote API where my users data is stored. With Laravel, I am building a front end on a different server and I need to send that remote server my end-users email and password in order to authenticate and then receive my Bearer token access token. Would iget-master/token-auth help me do that?

crowded left a reply on Custom Authentication Provider

Thank you @martinbean ! I believe you are correct. I plan to have a dashboard page that users will need to log into and possibly a few other pages. The user will enter their username & pass once and that information will be sent to our remote API which will validate and respond back with the Bearer Token. I need to retrieve that, store it in the session and use it for validation as needed.

I have found a good amount of documentation that explains how to set up a users table and store the token in a database, but I can't seem to find information that explains how authenticating users against a remote service like this. I am not really supposed to have users in my database, our remote system already took care of all that.

In the documentation you suggested on adding a custom guard, I am not understanding how I can get the custom guard to speak with my remote service.

Creating a custom guard would be ideal, but I am about to give up and just try passing in the token using guzzle either through Middleware or directly within a Controller.

11 Aug
2 years ago

crowded started a new conversation Custom Authentication Provider

How can I create a custom Authentication provider that will authenticate a user from a remote API?

We have an API that will allow me to pass in user credentials and the remote API will return an api_token. How can I set up a custom provider to talk to that remote server?