# How to generate the OAuth URL

**URL:** <https://forums.nylas.com/t/how-to-generate-the-oauth-url/431>\
**Category:** Question and Answers\
**Tags:** authentication\
**Created:** [September 9, 2024, 4:42pm UTC](https://forums.nylas.com/t/how-to-generate-the-oauth-url/431 "2024-09-09T16:42:07Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![hamzahyounus](https://avatars.discourse-cdn.com/v4/letter/h/f08c70/32.png) [@hamzahyounus](https://forums.nylas.com/u/hamzahyounus)\
**Post date:** [September 10, 2024, 12:37pm UTC](https://forums.nylas.com/t/how-to-generate-the-oauth-url/431/9 "2024-09-10T12:37:34Z")

</div>

I did something, and it worked. First of all, you were right I had to add the Bearer Token, it slipped my mind. But the CORS problem was due to this here

 ![image](https://us1.discourse-cdn.com/flex015/uploads/nylas3/original/1X/93231342bf0a0e4e2bab2bd37eaf924ae8da13a5.png)

---

_[View the full topic](https://forums.nylas.com/t/how-to-generate-the-oauth-url/431)._
