Welcome Guest, Not a member yet? Register   Sign In
Implement Shield authentication with Vue 3
#1

Hi! I'm building my first web app with Vue 3. I builded with Vue and Axios a CRUD and now i would like implement Shield authentication.
Do you have any suggestion for me? It is possible to do?
Thanks for help me.
Reply
#2

Is CodeIgniter 4 part of your setup? If not, you can’t use Shield…
Reply
#3

(09-25-2023, 10:53 AM)JustJohnQ Wrote: Is CodeIgniter 4 part of your setup? If not, you can’t use Shield…

Of course! Smile  I used Codeigniter with Axios also for my CRUD.
Reply
#4

If your using CodeIgniter then yes you could install and use Sheid.

You may need too modify the views etc, but it should work fine.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
#5

(09-25-2023, 09:37 PM)InsiteFX Wrote: If your using CodeIgniter then yes you could install and use Sheid.

You may need too modify the views etc, but it should work fine.

Yes i have already installed shield and all work fine. I have only to customize for Vue 3.
I just have one doubt for the controller. I would prefer create a new controller with new functions for login and registration...beacuse for example i don't need to redirect a new page after login, i would prefer have a json response.
Reply
#6

Custom Redirect URLs
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply




Theme © iAndrew 2016 - Forum software by © MyBB