Which external sign-ins this deployment offers
curl --request GET \
--url https://app.trustivan.com/api/v1/auth/providersimport requests
url = "https://app.trustivan.com/api/v1/auth/providers"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://app.trustivan.com/api/v1/auth/providers', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.trustivan.com/api/v1/auth/providers"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"github": true,
"gitlab": true,
"google": true,
"demo": true
}Which external sign-ins this deployment offers
True for a provider that has an OAuth app configured here. Public, because the sign-in page needs it.
GET
/
auth
/
providers
Which external sign-ins this deployment offers
curl --request GET \
--url https://app.trustivan.com/api/v1/auth/providersimport requests
url = "https://app.trustivan.com/api/v1/auth/providers"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://app.trustivan.com/api/v1/auth/providers', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.trustivan.com/api/v1/auth/providers"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"github": true,
"gitlab": true,
"google": true,
"demo": true
}