Skip to main content

BezKoder

  • Courses
  • Full Stack
  • Spring
  • Node
  • Vue
  • Angular
  • React
  • Firebase
  • Django
  • Dart
  • JsonFormatter
  • Categories

Tag: authentication

spring-boot-security-login-example-jwt-feature-image

Spring Boot Security Login example with JWT and H2 Database

Last modified: May 19, 2022 bezkoder 2 Comments

In this tutorial, we’re gonna build a Spring Boot, Spring Security: Login and Registration example (Rest API) that supports JWT with HttpOnly Cookie working with H2 Database. You’ll know:

  • Appropriate Flow for User Login and Registration with JWT and HttpOnly Cookie
  • Spring Boot Rest Api Architecture with Spring Security
  • How to configure Spring Security to work with JWT
  • How to define Data Models and association for Authentication and Authorization
  • Way to use Spring Data JPA to interact with H2 Database

– Related Posts:

  • Using Token in HTTP Authorization Headers
  • Spring Boot JPA + H2 example: CRUD Rest APIs
  • Spring Boot File upload example
  • @RestControllerAdvice example in Spring Boot
  • Spring Boot @ControllerAdvice & @ExceptionHandler example
  • @DataJpaTest example for Spring Data Repository Unit Test

Other Databases:
– Spring Boot Login and Registration example with JWT and MySQL
– Spring Boot Login and Registration example with JWT and MongoDB

Deployment:

  • Deploy Spring Boot App on AWS – Elastic Beanstalk
  • Docker Compose: Spring Boot and MySQL example

Read More

React.js Login & Registration example – JWT & HttpOnly Cookie

Last modified: May 19, 2022 bezkoder 1 Comment

In this tutorial, we’re gonna build a React.js Login & Registration example with JWT & HttpOnly Cookie, React Router, Axios and Bootstrap (without Redux). I will show you:

  • Flow for User Signup, Login, Logout with JWT & HttpOnly Cookie
  • Project Structure for React Hooks JWT Login example (without Redux) with LocalStorage, React Router & Axios
  • Creating Reactjs Function Components with Hooks & Form Validation
  • React Function Components for accessing protected Resources (Authorization)
  • Dynamic Navigation Bar in React Hooks App

Related Posts:
– In-depth Introduction to JWT-JSON Web Token
– React Hooks CRUD example with Axios and Web API
– React Hooks File Upload example with Axios & Progress Bar
– React Form Validation with Hooks example
– React Custom Hook

Fullstack (JWT Authentication & Authorization example):
– React + Spring Boot
– React + Node.js Express + MySQL/PostgreSQL
– React + Node.js Express + MongoDB

Read More

angular-13-login-registration-example-jwt-authentication-feature-image

Angular 13 Login and Registration example with JWT and Web Api

Last modified: December 3, 2021 bezkoder 7 Comments

In this tutorial, we’re gonna build an Angular 13 Login and Registration example (Token based Authentication & Authorization using JWT) with Web Api (including HttpInterceptor, Router & Form Validation). I will show you:

  • JWT Authentication & Authorization Flow for User Registration (Signup) & User Login
  • Project Structure with HttpInterceptor, Router
  • How to implement HttpInterceptor
  • Creating Login, Signup Components with Form Validation
  • Angular Components for accessing protected Resources
  • How to add a dynamic Navigation Bar to Angular App
  • Working with Browser Session Storage

Let’s explore together.

Related Posts:
– In-depth Introduction to JWT-JSON Web Token
– Angular 13 CRUD Application with Web API
– Angular 13 File upload example with progress bar

Fullstack:
– Angular + Spring Boot: JWT Authentication & Authorization example
– Angular + Node.js Express: JWT Authentication & Authorization example

Read More

spring-boot-mongodb-login-example-jwt-feature-image

Spring Boot Login and Registration example with MongoDB

Last modified: May 19, 2022 bezkoder 4 Comments

This tutorial helps you build a Spring Boot + MongoDB: Login & Registration example with HttpOnly Cookie, JWT, Spring Security and Spring Data MongoDB. You’ll know:

  • Appropriate Flow for User Login and Registration with JWT
  • Spring Boot Rest API Architecture with Spring Security
  • How to configure Spring Security to work with JWT
  • How to define Data Models and association for User Login and Registration
  • Way to get and generate Cookies for Token
  • Way to use Spring Data MongoDB to interact with MongoDB Database

More Practice:
– Spring Boot with MongoDB CRUD example using Spring Data
– Spring Boot MongoDB Pagination example with Spring Data
– Spring Boot + GraphQL + MongoDB example
– Spring Boot Unit Test for Rest Controller

Read More

node-js-express-login-example-feature-image

Node.js Express: Login and Registration example with JWT

Last modified: May 19, 2022 bezkoder 5 Comments

In this tutorial, we’re gonna build a Node.js Express Login and Registration Rest API example that supports JWT (JSONWebToken) and works with MySQL database. You’ll know:

  • Appropriate Flow for User Login and Registration with JWT Authentication
  • Node.js Express Architecture with CORS, Authentication & Authorization middlewares & Sequelize
  • How to configure Express routes to work with JWT
  • How to define Data Models and association for Authentication and Authorization
  • Way to use Sequelize to interact with MySQL Database

Read More

Posts navigation

1 2 … 12 Older posts

Follow us

  • Facebook
  • Youtube
  • Github

Tools

  • Json Formatter
DMCA.com Protection Status
  • Home
  • Privacy Policy
  • Contact Us
  • About Us
© 2019-2022 bezkoder.com
We use cookies to improve your experience with the site. To find out more, you can read the full Privacy & PolicyAccept
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may have an effect on your browsing experience.
Necessary
Always Enabled

Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.

Non-necessary

Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.

X