Start Google sign-in
curl --request GET \
--url https://my.server.express/api/v1/auth/oauth/googleconst options = {method: 'GET'};
fetch('https://my.server.express/api/v1/auth/oauth/google', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://my.server.express/api/v1/auth/oauth/google"
response = requests.get(url)
print(response.text){
"success": false,
"error": "<string>"
}Auth
Start Google sign-in
Redirects the browser to Google’s consent screen (scopes openid email profile). The state is a signed 10-minute ticket. Google sends the user back to the portal at /auth/oauth-callback/google, which then calls /v1/auth/oauth/exchange.
GET
/
v1
/
auth
/
oauth
/
google
Start Google sign-in
curl --request GET \
--url https://my.server.express/api/v1/auth/oauth/googleconst options = {method: 'GET'};
fetch('https://my.server.express/api/v1/auth/oauth/google', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://my.server.express/api/v1/auth/oauth/google"
response = requests.get(url)
print(response.text){
"success": false,
"error": "<string>"
}Response
Redirect to Google.