---
schema: rendered-html/v1
title: "Log in to Hub | Developer Portal for YouTrack and Hub Documentation"
source_url: https://www.jetbrains.com/help/youtrack/devportal/log-in-to-hub-rest-api.html
generated_at: 2026-06-11T15:02:54.020575+00:00
---

Feedback

Thanks for your feedback!

Was this page helpful?

YesNo

Developer Portal for YouTrack and Hub

- Developer Portal
- Apps
- MCP Tools
- YouTrack Workflows
- YouTrack Import Scripts
- YouTrack Form API
- YouTrack REST API
- Hub REST API
- Hub REST API Guide
- [Log in to Hub](log-in-to-hub-rest-api.html)
- Permanent Token Authorization in Hub
- OAuth 2.0 Authorization in Hub
- REST API URL and Endpoints
- Hub OpenAPI Specification (OAS)
- Hub API Field Syntax
- Sort Syntax in Hub
- Hub API Query Syntax
- Hub REST API Reference

1. Hub REST API
2. Hub REST API Guide
3. [Log in to Hub](#0)

# Log in to Hub﻿

Last modified: 07 May 2026

Hub supports two methods of authorization that you can use to log in and access data from an external client.

| Method | Description |
| --- | --- |
| Permanent Token Authorization in Hub | Permanent tokens enable token-based authorization for REST API calls in scripts and applications. This feature increases security for Hub integrations with external services.  We recommend that you use permanent tokens for authorization with the Hub REST API. |
| OAuth 2.0 Authorization in Hub | OAuth 2.0 is a protocol that lets your application request an access token from Hub. Hub supports a range of authorization flows. The flow that you use in your client application depends on the information that is available to the client and the location from which the client access resources in Hub (from a web browser or server-based client application).  Use OAuth 2.0 when your application requires client-side authentication. |

Hub REST API GuidePermanent Token Authorization in Hub

- Privacy & Security
- Terms Of Use
- Trademarks
- Legal

Copyright © 2000–2026 JetBrains s.r.o.

![](https://bat.bing.com/action/0?ti=5220035&tm=gtm002&Ver=2&mid=20d6eefd-0635-490b-8a72-c74985160a1e&bo=4&sid=452929b065a111f19a7fe7356f74a419&vid=aa3122f0648711f1a10d6d095e10fd87&vids=0&msclkid=N&pi=918639831&lg=en-US&sw=1920&sh=1080&sc=24&tl=Log%20in%20to%20Hub%20%7C%20Developer%20Portal%20for%20YouTrack%20and%20Hub%20Documentation&p=https%3A%2F%2Fwww.jetbrains.com%2Fhelp%2Fyoutrack%2Fdevportal%2Flog-in-to-hub-rest-api.html&r=&lt=495&pt=1781190171161,46,46,,,3,3,3,3,3,,3,24,25,49,196,196,196,495,495,495&pn=0,0&evt=pageLoad&sv=2&asc=G&cdb=AQAS&rn=569394)

![](https://crawler.prototype.prolicht.digital/l/podMjT)![](https://crawler.prototype.prolicht.digital/l/aWAFS5)
