Complete password reset
curl --request POST \
--url https://prod-auth.tktchurch.com/oauth/password/reset/complete \
--header 'Content-Type: application/json' \
--data '
{
"token": "<string>",
"newPassword": "<string>"
}
'import Foundation
let parameters = [
"token": "<string>",
"newPassword": "<string>"
] as [String : Any?]
let postData = try JSONSerialization.data(withJSONObject: parameters, options: [])
let url = URL(string: "https://prod-auth.tktchurch.com/oauth/password/reset/complete")!
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({token: '<string>', newPassword: '<string>'})
};
fetch('https://prod-auth.tktchurch.com/oauth/password/reset/complete', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://prod-auth.tktchurch.com/oauth/password/reset/complete"
payload = {
"token": "<string>",
"newPassword": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"error": "invalid_request",
"error_description": "Redirect URI not registered for this client"
}Complete password reset
Rotates credentials and revokes sessions.
POST
/
oauth
/
password
/
reset
/
complete
Complete password reset
curl --request POST \
--url https://prod-auth.tktchurch.com/oauth/password/reset/complete \
--header 'Content-Type: application/json' \
--data '
{
"token": "<string>",
"newPassword": "<string>"
}
'import Foundation
let parameters = [
"token": "<string>",
"newPassword": "<string>"
] as [String : Any?]
let postData = try JSONSerialization.data(withJSONObject: parameters, options: [])
let url = URL(string: "https://prod-auth.tktchurch.com/oauth/password/reset/complete")!
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({token: '<string>', newPassword: '<string>'})
};
fetch('https://prod-auth.tktchurch.com/oauth/password/reset/complete', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://prod-auth.tktchurch.com/oauth/password/reset/complete"
payload = {
"token": "<string>",
"newPassword": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"error": "invalid_request",
"error_description": "Redirect URI not registered for this client"
}