---
title: "Initiate OAuth2 v2 authentication"
method: GET
path: "/api/v1/oauth2_v2/authorize"
tags: ["Authentication"]
---

# Initiate OAuth2 v2 authentication

`GET /api/v1/oauth2_v2/authorize`

## Request

- Base URL: `https://toolkit.browserstack.com`
- URL: `https://toolkit.browserstack.com/api/v1/oauth2_v2/authorize`
- Auth: none required

Redirects user to OAuth2 v2 authorization endpoint with required query parameters.

## Query parameters

- `source` 'extension' | 'preview_screen'
- `return_to` string
- `scope` string

## Other responses

- `302`: Redirects to OAuth2 authorization endpoint

---

[API](https://skmtc.dev/birdeatsbug/apis/wdt-rails-api.md) - [All operations](https://skmtc.dev/birdeatsbug/apis/wdt-rails-api/llms.txt) - [OpenAPI document](https://skmtc.dev/birdeatsbug/apis/wdt-rails-api/revisions/cbd06b547b6a?raw)
