Category: 1. Authentication
-
What is React.js?
For integrating Authgear’s web SDK, we will create our web application using the React.js library for JavaScript. React.js (or React) is a declarative and component-based JavaScript library for building user interfaces for Single Page Applications (SPAs). Setup Authgear for React We will be using Authgear’s web SDK in our React app. For this, first, we need…
-
What is Authgear?
Authgear is an Customer Identity and Access Management (CIAM) solution for web and mobile apps built on top of the OpenID Connect (OIDC) standard, making it very easy to integrate with your new and existing applications. It supports integrations with popular third-party service providers like Google, Apple, and Azure Active Directory (AD). Along with this, it…
-
How to Implement Authentication In Your Web App with Authgear?
We saw many ways to authenticate the user using different methods and how they work. Now let’s take a practical approach toward authentication. We will be using Authgear here, so we will tell you all you need to know if you’re unfamiliar with it. As for the web, we will be using the React.js library.…
-
Working of Web Tokens
Here’s how these tokens work in websites and web apps: As you can see, it uses the Bearer schema, which is a cryptic string usually generated by the server in response to a login request. Here’s a diagram that shows how the access token is obtained from the authorization server in order to access protected…
-
How Does Access Token Work on a Web App?
We hear the term “access tokens” whenever we talk about authentication. But what are these in the first place? Let’s figure this out. What Are Access Tokens? Access token is a code used for authenticating a web application to access specific resources. These access tokens are provided as JSON Web Tokens (JWTs), which are then passed over…
-
Security Assertion Markup Language
Security assertion markup language, or SAML, is an open standard used for authentication and is based upon the extensible Markup Language (XML) format. Web apps use it to transfer authentication data between two parties – the identity provider (IdP) and the service provider (SP). It provides a way to achieve SSO where the user can…
-
OpenID
This is currently the most commonly used method of authentication and is more accessible to the end user. OpenID is a protocol that uses identity provider(s) to validate a user. This allows service providers a way to achieve Single SignOn (SSO), thereby allowing users to use one set of credentials to log into several related yet independent…
-
Authentication Methods in Web Applications
We have many ways in which an app can be authenticated. Let’s look at each of them one by one: Cookie-Based Authentication Cookies are generally used to handle user authentication in web applications. Here’s a diagram that shows how this works: Working of cookie-based authentication in web apps: As you can see here, the client…
-
What’s Authentication?
In simple terms, Authentication is the process of verifying the identity of a user or information. This means it is used to prove that some fact or some document is genuine, true or valid. What happens is that a user confirms their identity by providing their credentials. This piece of information is shared between the user…