Handles Oauth login callback
GET
/oauth/{driver}/callback
const url = 'http://localhost:8000/api/v1/oauth/example/callback';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:8000/api/v1/oauth/example/callback \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” driver
required
string
Oauth provider name
Responses
Section titled “ Responses ”Server error