curl --request GET \
--url https://api.googa.com.br/v1/oauth2/authorizeimport requests
url = "https://api.googa.com.br/v1/oauth2/authorize"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.googa.com.br/v1/oauth2/authorize', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.googa.com.br/v1/oauth2/authorize",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.googa.com.br/v1/oauth2/authorize"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.googa.com.br/v1/oauth2/authorize")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.googa.com.br/v1/oauth2/authorize")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_bodyInício do login federado do assinante (SSO OIDC) — planejado
Planejado — ainda não implementado. Não existe hoje nenhum endpoint de SSO em nenhum ambiente, e nenhum IdP de parceiro está configurado. Esta operação documenta o contrato de destino, não algo disponível para chamada.
Quando existir: endpoint de redirecionamento de navegador, não uma chamada JSON — o app do parceiro (ex: Minha Algar) redireciona o navegador/webview do assinante para aqui. O Supabase Auth de cada produto atua como Relying Party do provedor OIDC do parceiro: valida o id_token recebido, cria/recupera o usuário e devolve uma sessão de app normal. Ver o desenho em Modelo de autenticação sobre Supabase.
curl --request GET \
--url https://api.googa.com.br/v1/oauth2/authorizeimport requests
url = "https://api.googa.com.br/v1/oauth2/authorize"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.googa.com.br/v1/oauth2/authorize', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.googa.com.br/v1/oauth2/authorize",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.googa.com.br/v1/oauth2/authorize"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.googa.com.br/v1/oauth2/authorize")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.googa.com.br/v1/oauth2/authorize")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_bodyQuery Parameters
code Opaco, devolvido sem alteração — usado pelo parceiro para correlacionar a resposta.
Qual produto o assinante está entrando — define para qual Supabase Auth o fluxo é roteado.
novelai, novelaudio, historinhai Response
Redireciona para redirect_uri com code e state (sucesso) ou error (falha).