OAuth is an open authorization protocol that allows consumer applications on Web platforms such as Twitter, GitHub, or others to access the resource owner’s resources. The IETF OAuth Working Group developed OAuth 2.0 in 2012.
OAuth is an open authorization protocol that allows consumer applications on Web platforms such as Twitter, GitHub, or others to access the resource owner’s resources. The IETF OAuth Working Group developed OAuth 2.0 in 2012.
OAuth 2.0 focuses on the usability of product developers and offers unique authorization flows for web applications, desktop applications, mobile phones, and devices in the living room.
OAuth 2.0 framework defines several grant types for different use cases, as well as the framework for creating new grant types. In OAuth 2.0, the term “grant type” refers to the way an application gets an access token.
The basic grant type for OAuth 2.0 are listed below:
users
| Column | Data Type
|---------- |-------------
| id | int
| name | string
| username | string
| password | string
client
| Column | Data Type
|---------- |-------------
| id | int
| client_id | string
| client_secret | string
| name | string
| home_page_url | string
| logo_url | string
| privacy_policy_url | string
| user_id | string
| is_live | bool
| redirect_uri | []string
client_access_tokens
| Column | Data Type
|---------- |-------------
| id | int
| client_id | int
| user_id | int
| client_refresh_token_id | int
| access_token | string
| grant_type | string
| scope | string
| audience | string
| expired_at | datetime
client_refresh_tokens
| Column | Data Type
|---------- |-------------
| id | int
| client_id | int
| user_id | int
| refresh_token | string
| grant_type | string
| scope | string
| audience | string
| expired_at | datetime
client_authorization_codes
| Column | Data Type
|---------- |-------------
| id | int
| client_id | int
| user_id | int
| code | string
| scope | []string
| is_used | bool
| redirect_uri | string
| expired_at | datetime
With the rapid development in technology, the old ways to do business have changed completely. A lot more advanced and developed ways are ...
You name the business and I will tell you how web development can help you promote your business. If it is a startup or you seeking some...
Hire Dedicated JavaScript Developers from a top javascript development agency for your business solutions. We provide JS web developers for hire at a fixed or hourly rate.
JavaScript values are allocated when things are created (objects, Strings, etc.) and freed automatically when they are no longer used. This process is called Garbage collection.
JavaScript spread operator is one of the more popular features that were introduced in ES6. This tutorial will help you understand it. You will learn what spread operator is and how it works. You will also learn how to use it to copy and merge arrays and object literals, insert data and more.