No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. ghosteye1.wg
    G
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 2
    • Best 0
    • Groups 0

    ghosteye1.wg

    @ghosteye1.wg

    0
    Reputation
    1
    Profile views
    2
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    ghosteye1.wg Follow

    Latest posts made by ghosteye1.wg

    • RE: How to update auth token using app-extension-apollo each time a user log in?

      Can you share the full implementation here. Plz

      posted in Help
      G
      ghosteye1.wg
    • How I set Auth headers in apllo client after login

      I’m using https://github.com/quasarframework/app-extension-apollo for graphql. The all config related to above plugin store in apollo-client-config.js file. Currently I implemented as follows

      export default function (/* { app, router, store, ssrContext, urlPath, redirect } */) {
          return {
            default: {
                
              httpLinkConfig: {
                headers: { 'Authorization': 'Bearer ' +localStorage.getItem('access_token')},
                uri: process.env.GRAPHQL_URI || 'http://localhost:8080/api/graphql'
              },
              cacheConfig: {},
              additionalConfig: {}
            },
            ssrOnServer: {
              additionalConfig: {
                ssrMode: true
              }
            },
            ssrOnClient: {
              additionalConfig: {
                ssrForceFetchDelay: 100
              }
            }
          }
        }
        
      

      I want set authorization header user after login.

      posted in Help
      G
      ghosteye1.wg