Handles Firebase Oauth login callback
POST
/oauth/firebase/{driver}/callback
const url = 'http://localhost:8000/api/v1/oauth/firebase/example/callback';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"token":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url http://localhost:8000/api/v1/oauth/firebase/example/callback \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "token": "example" }'Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” driver
required
string
Oauth provider name
Request Body required
Section titled “Request Body required ” Media type application/json
object
token
Firebase token
string
Example generated
{ "token": "example"}Responses
Section titled “ Responses ”Credentials verified
Invalid token
Server error