No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Example of combining Laravel 8 and Quasar superpowers in separate repos

    Useful Tips (NEW)
    example laravel7 quasar sanctum spa
    6
    7
    3154
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Y
      yolosan last edited by yolosan

      Hello.

      I’ve created two example repositories of using Quasar framework and Laravel 7:

      • https://github.com/training-yoyosan/example-frontend
      • https://github.com/training-yoyosan/example-backend

      Let me know if you run into any issues. PRs are welcome

      Notes:

      • These projects use the Cookie based authentication from Laravel Sanctum
      • To be able to test the API in Postman use this guide
      altezzalab 1 Reply Last reply Reply Quote 1
      • altezzalab
        altezzalab @yolosan last edited by

        @yolosan Thank you! very useful

        1 Reply Last reply Reply Quote 1
        • I
          irexqudiet last edited by

          Status Code: 419 unknown status why did i get this error when i try logging in

          Y 1 Reply Last reply Reply Quote 0
          • Y
            yolosan @irexqudiet last edited by

            Sorry for the late answer.

            @irexqudiet said in Example of combining Laravel 7 and Quasar superpowers in separate repos:

            Status Code: 419 unknown status why did i get this error when i try logging in

            It’s usually due to misconfiguration of these variables in your .env file: SANCTUM_STATEFUL_DOMAINS and SESSION_DOMAIN

            Check out the note here.

            1 Reply Last reply Reply Quote 0
            • T
              twa last edited by twa

              @yolosan I have installed the laravel repo under a valet directory that can be accessed from laravel.test
              and the quasar repo is accessible under localhost:8080

              In .env I added:

              SANCTUM_STATEFUL_DOMAINS=localhost:8080
              SESSION_DOMAIN=laravel.test

              But I still get cors missing origin issue.

              Both repo are accessible separately, but login failed.

              What I am missing?

              Thanks

              1 Reply Last reply Reply Quote 0
              • R
                rigunbd last edited by

                Hello, I have followed every steps for local environment. it gives me 419 error woth CSRF mismatch message. I have tried several ways. It didn’t work.

                1 Reply Last reply Reply Quote 0
                • A
                  ahmadatefahmad last edited by

                  for me as well, 419 caused by a CSRF mismatch

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post