firebase / firebase/functions-samples

LinkedIn Auth sample does not generalize

Open
#405 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
12.2k
Forks
3.8k
Avg merge
3d 23h
Merged PRs (30d)
1

Description

### How to reproduce these conditions
**Steps to set up and reproduce**
- Use the LinkedIn auth sample, make sure it works
- Change it to work with Bing Ads instead, changing only the endpoints and id/secret

**Sample data pasted or attached as JSON (not an image)**
```
{ name: 'Error',
status: 401,
message: 'Unauthorized',
context:
{ error: 'invalid_client',
error_description: 'The provided value for the \'client_secret\' parameter is not valid.' } }
```

### Expected behavior
The token request should work the same because OAuth2 is a standard

### Actual behavior
It doesn't work the same and fails for one system while working for the other.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.