Hi, I am using the Sync Gateway 3.0 and want to enable the User creation via Google with a Gateway request to {url}/{db}/_google, but the endpoint only gives back a 404 Not found error…
Current Sync Gateway database config:
{
"bucket": "travel-sample",
"name": "travel-sample",
"guest": {
"disabled": true
},
"oidc": {
"default_provider": "google",
"providers": {
"google": {
"issuer": "https://accounts.google.com",
"register": true,
"client_id": "{CLIENT_ID}",
"validation_key": "{KEY}",
"callback_url": "http://localhost:4984/default/_oidc_callback"
}
}
},
"import_docs": true,
"num_index_replicas": 0,
"enable_shared_bucket_access": true
}
Has anyone an idea how to use the Google Auth properly to register a new user?
The Google Auth is set up and gives me a bearer token back, but I don’t know how to use it in this context…
Edit: Just noticed that the Google Auth is deprecated in SG 3.0, but is there any other way to get it running without using the old legacy config?
Thanks in advance (![]()