CI4 as backend for React.js and authentication |
(03-29-2022, 12:31 AM)ignitedcms Wrote: If you store the JWT in session storage you can just use regular javascript to inspect the token and use that to validate the controllers I believe, it is something I plan to integrate into my own backlog at some point.I am fooking for some authentication / user management library that would be accessible through restful endpoints, as described in the CI docs: https://codeigniter.com/user_guide/incom...stful.html The Udemy course your mentioned - I am actually enrolled in it already. For my project in particular, I am trying both to learn something new and to use what I can from what I have already mastered at the same time. In my case JWT authentication does not bring any advantages over the cookie authentication, but sadly it seems I cannot have it all: I will have to implement either the user/group management or the RESTful API for an existing package that has the user/group management... Which sounds overwhelming ![]()
==
Donatas G. |
Welcome Guest, Not a member yet? Register Sign In |