# Implementing Zoom Meeting SDK with Angular and The meetingsdk Sample provided by Zoom. Plus Firebase

**URL:** <https://devforum.zoom.us/t/implementing-zoom-meeting-sdk-with-angular-and-the-meetingsdk-sample-provided-by-zoom-plus-firebase/71885>\
**Category:** Web\
**Created:** [July 8, 2022, 2:23pm UTC](https://devforum.zoom.us/t/implementing-zoom-meeting-sdk-with-angular-and-the-meetingsdk-sample-provided-by-zoom-plus-firebase/71885 "2022-07-08T14:23:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![UB007](https://avatars.discourse-cdn.com/v4/letter/u/dbc845/32.png) [@UB007](https://devforum.zoom.us/u/UB007)\
**Post date:** [July 8, 2022, 2:23pm UTC](https://devforum.zoom.us/t/implementing-zoom-meeting-sdk-with-angular-and-the-meetingsdk-sample-provided-by-zoom-plus-firebase/71885/1 "2022-07-08T14:23:49Z")

</div>

**Description**  
I’ve been trying to get a signature from the zoom SDK which works perfectly on Localhost but throws an error when deployed on firebase.  
Note: Post request is sent from Angular App and received on sample Zoom SDK on Nodejs hosted on firebase.

**Browser Console Error**  
Access to XMLHttpRequest at ‘[https://example.com/](https://example.com/)’ from origin ‘[http://localhost:4200](http://localhost:4200)’ has been blocked by CORS policy: Response to preflight request doesn’t pass access control check: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.

This small Snippet is already there in the SDK for relax this Error but it does not work.  
app.use(bodyParser.json(), cors())  
app.options(‘\*’, cors())

Also, I tried giving Allow Access Headers in the post request itself for debugging like this but this does not either.

headers = new HttpHeaders({‘Access-Control-Allow-Origin’: ‘\*’})

getSignature(){

```
this.http.post<any>('https://example.web.app', { "meetingNumber": "9027261428", "role": 1 } ,{headers: this.headers}).subscribe(data => {
  console.log(data.signature);

```

})

}

**Meeting SDK Code Snippets**

getSignature() {  
this.httpClient.post(this.signatureEndpoint, {  
meetingNumber: this.meetingNumber,  
role: this.role  
}).toPromise().then((data: any) =\> {  
if(data.signature) {  
console.log(data.signature)  
this.startMeeting(data.signature)  
} else {  
console.log(data)  
}  
}).catch((error) =\> {  
console.log(error)  
})  
}

**Device (please complete the following information):**

- Device: Any Device
- OS: Windows
- Browser: Tested on Chrome and Edge

Thanks in Advance.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [August 8, 2022, 12:24am UTC](https://devforum.zoom.us/t/implementing-zoom-meeting-sdk-with-angular-and-the-meetingsdk-sample-provided-by-zoom-plus-firebase/71885/2 "2022-08-08T00:24:24Z")

</div>

Closed on August 8, 2022, 12:24am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
