Look up device request
curl --request POST \
--url https://prod-auth.tktchurch.com/oauth/device/verify/lookup \
--header 'Content-Type: application/json' \
--data '
{
"user_code": "<string>"
}
'import Foundation
let parameters = ["user_code": "<string>"] as [String : Any?]
let postData = try JSONSerialization.data(withJSONObject: parameters, options: [])
let url = URL(string: "https://prod-auth.tktchurch.com/oauth/device/verify/lookup")!
var request = URLRequest(url: url)
request.httpMethod = "POST"
request.timeoutInterval = 10
request.allHTTPHeaderFields = ["Content-Type": "application/json"]
request.httpBody = postData
let (data, _) = try await URLSession.shared.data(for: request)
print(String(decoding: data, as: UTF8.self))const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({user_code: '<string>'})
};
fetch('https://prod-auth.tktchurch.com/oauth/device/verify/lookup', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://prod-auth.tktchurch.com/oauth/device/verify/lookup"
payload = { "user_code": "<string>" }
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"status": "pending",
"client_name": "TKT TV"
}{
"error": "invalid_request",
"error_description": "Redirect URI not registered for this client"
}Look up device request
Public, rate-limited status lookup for the verification screen.
POST
/
oauth
/
device
/
verify
/
lookup
Look up device request
curl --request POST \
--url https://prod-auth.tktchurch.com/oauth/device/verify/lookup \
--header 'Content-Type: application/json' \
--data '
{
"user_code": "<string>"
}
'import Foundation
let parameters = ["user_code": "<string>"] as [String : Any?]
let postData = try JSONSerialization.data(withJSONObject: parameters, options: [])
let url = URL(string: "https://prod-auth.tktchurch.com/oauth/device/verify/lookup")!
var request = URLRequest(url: url)
request.httpMethod = "POST"
request.timeoutInterval = 10
request.allHTTPHeaderFields = ["Content-Type": "application/json"]
request.httpBody = postData
let (data, _) = try await URLSession.shared.data(for: request)
print(String(decoding: data, as: UTF8.self))const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({user_code: '<string>'})
};
fetch('https://prod-auth.tktchurch.com/oauth/device/verify/lookup', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://prod-auth.tktchurch.com/oauth/device/verify/lookup"
payload = { "user_code": "<string>" }
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"status": "pending",
"client_name": "TKT TV"
}{
"error": "invalid_request",
"error_description": "Redirect URI not registered for this client"
}