Questions tagged [jetstream]

Laravel Jetstream is an application starter kit for Laravel. Jetstream provides the following features for your application:

  • login
  • registration
  • email verification
  • two-factor authentication
  • session management
  • API via Laravel Sanctum

Documentation at jetstream.laravel.com.

480 questions
0
votes
1 answer

How to list Jetstream Roles on other view blade

I been searching all over the documentation and internet to find how to do it. I can see that Jetstream has team-member-manager.php where you can set new members and assign roles to them. They can list this via this
0
votes
0 answers

Image not uploading in storage laravel livewire, returning 404 not found

I am using Laravel Jetstream livewire, Everything is working fine on localhost. But when I am uploading profile picture online, It's path is saving in database '/storage/profile-photos/pJis4kArzwPH059sisxUvVR95h81UI8EFXm1pRrV.jpg' but image is…
Claymore
  • 130
  • 4
0
votes
0 answers

Laravel Jetstream no able to install and its returning below error

kage operations: 9 installs, 0 updates, 0 removals Installing dasprid/enum (1.0.3): Extracting archive Install of dasprid/enum failed Installing bacon/bacon-qr-code (2.0.3): Extracting archive Install of bacon/bacon-qr-code failed Installing…
0
votes
1 answer

Protecting apiResource in api.php Laravel + Jetstream + Inertia.js

How can I recreate this? I am new to Laravel, and I have set up a Route::apiResourcepost data from my vue pages to my controller. I know that I need to protect the API resource and am trying to build an understanding as to how. In api.php, the…
Andrew
  • 1,745
  • 1
  • 21
  • 29
0
votes
1 answer

How can I bind v-model to data () when I am v-binding to selected option in select tag in vue

I'm bringing in an array (contacts) and iterating over it in the option tag which I'm showing as selected if the array contact id is equal to the selected_contact. This works fine but I then want to bind the newly selected option to the data to add…
James Roe
  • 11
  • 2
0
votes
1 answer

How to override Laravel 8 authentification function

I am building an application using (laravel 8,Jetstream, Fortify), this how the users table looks like id name email tag i need to check if the tag field is empty for a specific user when that user authenticate successfully, if it's empty i need to…
0
votes
2 answers

Unable to attach role to a user, when creating an account using Jetstream - Laravel

I am trying to attach a role and update the registered_at field in the invitations table through the Jetstream authentication controller itself, located at App\Actions\Fortify\CreateNewUser. I want to perform the said above function when the user…
ToxifiedHashkey
  • 267
  • 4
  • 19
0
votes
2 answers

419 | Page Expired on logout Laravel 8 Jetstream

All examples of resolving this issue seem to be from older versions of laravel, is there an example using version 8. Also is this something that should be covered in Jetstream? this below does not work in version 8 if ($exception instanceof…
Jason Spick
  • 6,028
  • 13
  • 40
  • 59
0
votes
1 answer

How to use laravel sanctum without typical laravel /login

I have been created PWA with NuxtJS, then I'm going to use sanctum package, but I don't want to request to the typical Laravel /login route, because I have a customized api /login route which authenticates users with OTP, not by password! So I'm…
0
votes
1 answer

Centralize user role verification in laravel

I'm working on an e-commerce website and i need to display certain data based on the user role. Basically the page can be viewed by three types of people: normal people who enters the page and by a client user or an admin who have their accounts but…
Abraham Arreola
  • 329
  • 4
  • 14
0
votes
0 answers

To what object does $this refers when it is used in laravel blade templates?

In jetstream profile managing scaffolding in @if statements $this->enabled is used. And I can't understand to what particular object does it refers? The file I am looking at "resources\views\profile\two-factor-authentication-form.blade.php": …
IVN
  • 241
  • 1
  • 3
  • 13
0
votes
1 answer

Error installing Jetstream Livewire Basic Authentication on Laravel 8

I am trying to do a fresh install of Laravel 8 with Livewire basic authentication. Basic Laravel installs fine but when installing Jetstream and running "npm install && npm run dev", I get the error. I found this link where it indicates that there…
rendor9
  • 172
  • 2
  • 10
0
votes
1 answer

How to integrate Jetstream authentification in a vue.js file?

I am doing a project, during this project I am supposed to create api in laravel with an authentification system. I used jetstream and inertia. I have two folders separated one with my api and jetstream auth and another one with my vue.js project,…
Marizona
  • 131
  • 1
  • 12
0
votes
1 answer

How to redirect in laravel jetstream?

I am using laravel 8 with jetstream I want to know that how can I direct different users like admin or user to different routes? RouteServiceProvider has Public const Home = ''; but it only direct to a one route
0
votes
1 answer

activate some fortify pages for production and others for testing

i have a version of laravel 8x jetstream with fortify on a test server and a production server. test: prj_l8xtest.com production: prj_l8xprod.com I wanted to activate or deactivate some pages made available by fortify, they can be activated or…