Javascript must be enabled to continue!
Managing a Secure Refresh Token Implementation with JSON Web Token in REST API
View through CrossRef
JSON Web Token (JWT) is a compact and self-contained mechanism, digitally authenticated and trusted, for transmitting data between various parties. They are mainly used for implementing stateless authentication mechanisms. The Open Authorization (OAuth 2.0) implementations are using JWTs for their access tokens. OAuth 2.0 and JWT are used token frameworks or standards for authorizing access to REST APIs because of their statelessness and signature implementation and JWT tokens are based on JSON and used in new authentication and authorization protocols in OAuth 2.0 because of their small size. When refresh tokens are stored in cookies, the size limit of a cookie or URL may be quickly exceeded. There may be refresh tokens for accessing users and getting the refresh token is a bit more complicated and refresh tokens in the browser require additional security measures and the attacker steals a refresh token and attempts to use it after the application has already used it. This implies that the attacker was able to steal a refresh token from the application. If the refresh token can be stolen, then so can the access token, even short token lifetimes can still lead to major abuse scenarios. In this article, we discuss the security properties of refresh tokens in the browser and the pattern to secure JWT tokens in the web front-end better. We propose a Backend for Frontend (BFF) pattern, where the token handling is deferred to the server-side component to a secure token that provides a lot of flexibility to the client-side.
ASPG Publishing LLC
Title: Managing a Secure Refresh Token Implementation with JSON Web Token in REST API
Description:
JSON Web Token (JWT) is a compact and self-contained mechanism, digitally authenticated and trusted, for transmitting data between various parties.
They are mainly used for implementing stateless authentication mechanisms.
The Open Authorization (OAuth 2.
0) implementations are using JWTs for their access tokens.
OAuth 2.
0 and JWT are used token frameworks or standards for authorizing access to REST APIs because of their statelessness and signature implementation and JWT tokens are based on JSON and used in new authentication and authorization protocols in OAuth 2.
0 because of their small size.
When refresh tokens are stored in cookies, the size limit of a cookie or URL may be quickly exceeded.
There may be refresh tokens for accessing users and getting the refresh token is a bit more complicated and refresh tokens in the browser require additional security measures and the attacker steals a refresh token and attempts to use it after the application has already used it.
This implies that the attacker was able to steal a refresh token from the application.
If the refresh token can be stolen, then so can the access token, even short token lifetimes can still lead to major abuse scenarios.
In this article, we discuss the security properties of refresh tokens in the browser and the pattern to secure JWT tokens in the web front-end better.
We propose a Backend for Frontend (BFF) pattern, where the token handling is deferred to the server-side component to a secure token that provides a lot of flexibility to the client-side.
Related Results
Web Services Menggunakan Format JSON
Web Services Menggunakan Format JSON
INTISARISistem informasi dibuat untuk membantu kegiatan di suatu organisasi dan pengambilan keputusan para pimpinannya. Sistem informasi sudah banyak dibuat organisasi namun data a...
Analisa Penerapan Algoritma Keccak untuk Keamanan Permintaan API
Analisa Penerapan Algoritma Keccak untuk Keamanan Permintaan API
Implementing REST in modern applications, security will be a key foundation for its development because the REST architecture requires communication between servers. In this study,...
API Offshore Standards Activities: Equipment Quality
API Offshore Standards Activities: Equipment Quality
ABSTRACT
The American Petroleum Institute has introduced new quality requirements into its drilling and producing equipment standardization program. These new req...
API Offshore Structure Standards: 2006 And Beyond
API Offshore Structure Standards: 2006 And Beyond
Abstract
The future of the API offshore structure standards appears to be at a crossroad. The short term plans are clearly laid out, with the projected publicatio...
Definition of REST web services with JSON schema
Definition of REST web services with JSON schema
SummaryThe Web has evolved from being a collection of documents to a collection of interconnected services that interoperate throughout the Internet. Web services are a natural con...
ARIR: An Intent Recognition-Based Approach for API Recommendation
ARIR: An Intent Recognition-Based Approach for API Recommendation
Abstract
With the prevalence of service composition, how to recommend API services that meet the Mashup requirements for developers has become a challenging in the field of...
From Used to New: Committing to Product Refresh Services
From Used to New: Committing to Product Refresh Services
In practice, we see examples of firms offering product refresh services across different industries. Refresh services promote sustainable reuse and are distinct from typical refurb...
Silymarin PlantCrystals for Improved Dermal Drug Delivery
Silymarin PlantCrystals for Improved Dermal Drug Delivery
Background/Objectives: PlantCrystals (PCs) are submicron particles derived from plants or parts of plants that can be produced by bead milling and/or high-pressure homogenization. ...

