Closed Decipher closed 11 months ago
Describe the bug When authenticated with Drupal via OAuth2, DruxtMenu is not displaying any menu items that are restricted to the authenticated user.
I have confirmed that the links are accessible in the JSON:API Menu Items output.
To Reproduce ...
Expected behavior The DruxtMenu plugin needs to pass the @nuxtjs/axios instance to the DruxtMenu instance.
Additional context Prototype:
<% if (typeof options.axios === 'object') { %> // Axios settings. options.axios = <%= JSON.stringify(options.axios) %> <% } else { %> // Use the @nuxtjs/axios module Axios instance. options.axios = app.$axios <% } %>
DruxtMenu 0.19.2 and 0.20.0 released; menus requests are authenticated, and will be refreshed if user is logged in a site is statically generated.
Describe the bug When authenticated with Drupal via OAuth2, DruxtMenu is not displaying any menu items that are restricted to the authenticated user.
I have confirmed that the links are accessible in the JSON:API Menu Items output.
To Reproduce ...
Expected behavior The DruxtMenu plugin needs to pass the @nuxtjs/axios instance to the DruxtMenu instance.
Additional context Prototype: