logo laravel

Authentikasi Laravel 7 dengan JWT

Di tutorial kali ini saya akan membagikan cara menggunakan authentikasi JWT pada Laravel 7. Kita akan menggunakan tymon/jwt-auth package JSON web token authentication for Laravel and Lumen. Install aplikasi laravel terbaru :

Selanjutnya, masuk ke directory jwt yang baru kita buat, kemudian install tymon/jwt-auth :

Buka config/app.php dan tambahkan baris berikut di bagian Read more about Authentikasi Laravel 7 dengan JWT[…]

NodeJS MongoDB Security and Authentication

In the previous tutorial, we have successfully created a simple CRUD using NodeJS API. We will go further based on the previous code that we have made to create the security and authorization method using JSON Web Token(JWT) and Hashing. Setting Up the User Model Installing NPM Validator Module We will modify the User model Read more about NodeJS MongoDB Security and Authentication[…]