title: Elixir Phoenix Absinthe GraphQL API authentication in both web and mobile app's
body: <p>I'm working on an Absinthe GraphQL API for my app. I'm still learning the procedure(so please go easy on me).</p>
  <p>I've a Absinthe/GraphQL <code>MyAppWeb.schema.ex</code> file in which I use for my queries and mutations. My question is how do I use this API for authenticating the user on both Mobile and Web app?</p>
  <p>How do set a cookie(httpOnly &amp; secure) in my web app and access/refresh tokens in a single Absinthe API to serve my website and mobile app. Basically what I'm trying to learn is how do I authenticate the user based on specific platform.</p>
  <p>If my question sounds bit confusing, I would be happy to provide more information related to my question. I would really be grateful if someone could explain the procedure, I've been very stuck on this for a while.</p>