Get Hosted Auth Configuration
curl --request GET \
--url https://api.thefaithapp.com/v1/auth/configconst options = {method: 'GET'};
fetch('https://api.thefaithapp.com/v1/auth/config', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.thefaithapp.com/v1/auth/config"
response = requests.get(url)
print(response.text){
"client": {
"id": 12,
"name": "Example Church",
"public_uuid": "11111111-2222-3333-4444-555555555555",
"image_url": "https://cdn.example.com/clients/example.png"
},
"redirect_uri_allowed": true,
"providers": [
"google",
"apple",
"email"
]
}{
"status": "Error",
"message": "The request could not be completed.",
"error": null,
"error_message": null,
"errors": {}
}{
"status": "Error",
"message": "The request could not be completed.",
"error": null,
"error_message": null,
"errors": {}
}Hosted Auth
Get Hosted Auth Configuration
Returns public church branding, enabled sign-in providers, and whether a redirect URL is allowed.
GET
/
v1
/
auth
/
config
Get Hosted Auth Configuration
curl --request GET \
--url https://api.thefaithapp.com/v1/auth/configconst options = {method: 'GET'};
fetch('https://api.thefaithapp.com/v1/auth/config', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.thefaithapp.com/v1/auth/config"
response = requests.get(url)
print(response.text){
"client": {
"id": 12,
"name": "Example Church",
"public_uuid": "11111111-2222-3333-4444-555555555555",
"image_url": "https://cdn.example.com/clients/example.png"
},
"redirect_uri_allowed": true,
"providers": [
"google",
"apple",
"email"
]
}{
"status": "Error",
"message": "The request could not be completed.",
"error": null,
"error_message": null,
"errors": {}
}{
"status": "Error",
"message": "The request could not be completed.",
"error": null,
"error_message": null,
"errors": {}
}Was this page helpful?