---
description: >-
  Odoo requires users of the REST API to be authenticated before they can query
  most data
---

# Logging In

The <mark style="color:orange;">`restapi/1.0/common`</mark> endpoint provides meta-calls that don’t require authentication, such as the authentication itself or fetching version information. To verify if the connection information is correct before trying to authenticate, the simplest call is to ask for the server’s version through the <mark style="color:orange;">`restapi/1.0/common/version`</mark> endpoint. The authentication itself is done through the **OAuth 1.0** <mark style="color:orange;">`restapi/1.0/common/oauth1`</mark> or **OAuth 2.0** <mark style="color:orange;">`restapi/1.0/common/oauth2`</mark> or <mark style="color:orange;">`restapi/1.0/common/basic`</mark> endpoints.

### How you can do

* [Odoo Version Information](logging-in/how-you-can-do/odoo-version-information)
* [OAuth1 Authentication](logging-in/how-you-can-do/oauth1-authentication)
  * 1\. [Temporary Credential Request](how-you-can-do/oauth1-authentication#temporary-credential-request)
  * 2\. [Resource Owner Authorization](how-you-can-do/oauth1-authentication#2.-resource-owner-authorization)
  * 3\. [Token Credentials Request](how-you-can-do/oauth1-authentication#3.-token-credentials-request)
* [OAuth2 Authentication](logging-in/how-you-can-do/oauth2-authentication)
  * 1\. [Resource Owner Authorization](how-you-can-do/oauth2-authentication#1.-resource-owner-authorization)
  * 2\. [Token Credentials Request](how-you-can-do/oauth2-authentication#2.-token-credentials-request)
* [Basic Authentication](logging-in/how-you-can-do/basic-authentication)
  * 1\. [Token Credentials Request](how-you-can-do/basic-authentication#1.-token-credentials-request)
