Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are the characteristics of an OAuth token?

Tags:

How many characters long can an oauth access token and oauth access secret be and what are the allowed characters? I need to store them in a database.

like image 898
Don Neufeld Avatar asked Jul 12 '09 04:07

Don Neufeld


People also ask

What does a OAuth token contain?

An OAuth Access Token is a string that the OAuth client uses to make requests to the resource server. Access tokens do not have to be in any particular format, and in practice, various OAuth servers have chosen many different formats for their access tokens.

What are the main components of OAuth?

The main components of the OAuth 2 architecture are the resource owner, the Client, the authorization server, and the resource server. Each of them has its own responsibility, essential in the authentication and authorization process.

What is the purpose of OAuth token?

OAuth doesn't share password data but instead uses authorization tokens to prove an identity between consumers and service providers. OAuth is an authentication protocol that allows you to approve one application interacting with another on your behalf without giving away your password.


1 Answers

I am not sure there are any explicit limits. The spec doesn't have any. That said, OAuth tokens are often passed as url parameters and so have some of the same limitations. ie need to be properly encoded, etc.

like image 109
BaroqueBobcat Avatar answered Sep 23 '22 06:09

BaroqueBobcat