title: Authentication not working with Supabase and Node.js
body: <p>I am not sure even this is possible but I am trying to use Supabase with Node.js. I get the code from a React front-end, this <a href="https://dev.to/dabit3/10-minute-tutorial-full-stack-github-authentication-with-supabase-react-3c6b" rel="nofollow noreferrer">link</a>, which works okay.</p>
  <p>Below is my code</p>
  <p><strong>client.js</strong></p>
  <pre><code>const { createClient } = require('@supabase/supabase-js')
  
  const supabaseUrl = &quot;MY_URL&quot;
  const public_anon_key = &quot;MY_ANON_KEY&quot;
  const supabase = createClient(supabaseUrl,public_anon_key)
  
  exports.supabase = supabase
  </code></pre>
  <p><strong>app.js</strong></p>
  <pre><code>const { supabase }  = require('./client')
  
  async function signOut() {
          /* sign the user out */
          await supabase.auth.signOut();
  }
  
  async function signInWithGithub() {
          /* authenticate with GitHub */
          await supabase.auth.signIn({
                  provider: 'github'
          });
  }
  
  async function printUser() {
          const user = supabase.auth.user()
          console.log(user.email)
  }
  
  signInWithGithub()
  printUser()
  signOut()
  </code></pre>
  <p>I am new to Node.js and I suspect something wrong with Promises is missing.
  Is it possible to retrieve the <code>user</code> data from Supabase, if so, what is my code missing?</p>
  <p>Thanks</p>
  <p>Edit : title</p>