# Nylas Scheduler Editor

**URL:** <https://forums.nylas.com/t/nylas-scheduler-editor/404>\
**Category:** Question and Answers\
**Tags:** authentication\
**Created:** [September 3, 2024, 3:09pm UTC](https://forums.nylas.com/t/nylas-scheduler-editor/404 "2024-09-03T15:09:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sboynton](https://avatars.discourse-cdn.com/v4/letter/s/c4cdca/32.png) [@sboynton](https://forums.nylas.com/u/sboynton)\
**Post date:** [September 3, 2024, 3:09pm UTC](https://forums.nylas.com/t/nylas-scheduler-editor/404/1 "2024-09-03T15:09:21Z")

</div>

Using the ui component, how do I authorize the scheduler-editor component so that the user doesn’t need to login themselves.

---

<div class="post-metadata">

**Author:** ![Blag](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.nylas.com/blag/32/9_2.png) [@Blag](https://forums.nylas.com/u/Blag)\
**Post date:** [September 3, 2024, 5:50pm UTC](https://forums.nylas.com/t/nylas-scheduler-editor/404/2 "2024-09-03T17:50:06Z")

</div>

Hello @sboynton unless you have a grant for those users, they need to authenticate in order to use the scheduler…but less me ask anyways… 🙂

---

<div class="post-metadata">

**Author:** ![sboynton](https://avatars.discourse-cdn.com/v4/letter/s/c4cdca/32.png) [@sboynton](https://forums.nylas.com/u/sboynton)\
**Post date:** [September 3, 2024, 6:02pm UTC](https://forums.nylas.com/t/nylas-scheduler-editor/404/3 "2024-09-03T18:02:11Z")

</div>

I have a configurationId which requires a grantId to create. I pass it into the scheduler-editor component and it still requires me to login. @Blag

For example, how do I get this code below to bypass logging in and go right into the editor. The configurationId isn’t doing it @Blag

---

<div class="post-metadata">

**Author:** ![sboynton](https://avatars.discourse-cdn.com/v4/letter/s/c4cdca/32.png) [@sboynton](https://forums.nylas.com/u/sboynton)\
**Post date:** [September 3, 2024, 7:49pm UTC](https://forums.nylas.com/t/nylas-scheduler-editor/404/5 "2024-09-03T19:49:14Z")

</div>

```auto
<script type="module">
      const schedulerEditor = document.querySelector("nylas-scheduler-editor");
      schedulerEditor.schedulerPreviewLink = `${window.location.origin}/?config_id={config.id}`;
      schedulerEditor.nylasSessionsConfig = {
        clientId: 'replace', // Replace with your Nylas client ID from the previous section
        redirectUri: `${window.location.origin}/scheduler-editor.html`,
        domain: "https://api.us.nylas.com/v3", // or 'https://api.eu.nylas.com/v3' for EU data center
        hosted: true,
        accessType: "offline",
      };
      schedulerEditor.configurationId = "replace";
      schedulerEditor.defaultSchedulerConfigState = {
        selectedConfiguration: {
          requires_session_auth: false, // creates public configuration which does not require session tokens
          scheduler: {
            // callback URLs to be set in email confirmation messages
            rescheduling_url: `${window.location.origin}/reschedule/:booking_id`,
            cancellation_url: `${window.location.origin}/cancel/:booking_id`,
          },
        },
      };
    </script>

```

---

<div class="post-metadata">

**Author:** ![Blag](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.nylas.com/blag/32/9_2.png) [@Blag](https://forums.nylas.com/u/Blag)\
**Post date:** [September 3, 2024, 8:02pm UTC](https://forums.nylas.com/t/nylas-scheduler-editor/404/6 "2024-09-03T20:02:04Z")

</div>

This should be explained in our docs 🙂 [Configure authentication for the Scheduler Editor Component | Nylas Docs](https://developer.nylas.com/docs/v3/scheduler/configure-authentication/#use-custom-authentication)
