I am using nuxt-strapi and I am authentication user by otp and for that I want to use $strapi.login() but the issue is the default endpoint for strapi login is auth/local which requires email and password but I want to modify it and use mobile number. I dont know how to modify the route for that so is there any option like in $auth I can modify the the login route
how to modify the $strapi.login({}) default route in nuxt(custom login)
395 Views Asked by HYDRA LAZER At
1
There are 1 best solutions below
Related Questions in VUEJS2
- Vuetify Calendar exclude events that are in the next and previous months from view
- How to dynamically add two v-text-fields to a form when a button is clicked and uniquely identify them
- Vue 2 Jest - [Vue warn]: Cannot find element: #app
- On Vue 2 : You have included the Google Maps JavaScript API multiple times on this page. This may cause unexpected errors
- Vue Functional Components Re-render Entirely vs. Single SPA Component Re-render
- Vue 2 draggable not reactive when v-model value is an iterable of parent tag
- How to toggle a v-if
- Vue unable to parse template literal when string contains HTML
- difference between vuejs local registration syntax
- Keep filter values in previous page when navigating
- Vuejs-Datepicker: It shows up but is not working, not clickable or anything else and i dont know why?
- Apex Charts Rendering with vertical lines
- How to update options after init in egjs-flicking?
- Cannot find module in my Nuxt 2 Typescript application: I`m getting error TS2307 when running my Jest tests
- Different behavior of capacitor-rate-app plugin in android and iOS
Related Questions in NUXT.JS
- Vue/TailwindCSS - Content is behind Sidebar
- Pass dynamic object data via nuxt-link to component
- Sends a personalised error message from the back-end to the front-end with Nuxt-auth
- how to search for content in Nuxt 3 with the @nuxt/content module using .json files?
- Import GLTF with TresJS in Nuxt
- How to dynamically add two v-text-fields to a form when a button is clicked and uniquely identify them
- multiple file components and false positives with eslint
- Nuxt.js 3 - useAppConfig() returning unknown
- Does the IPX nuxt-img provider store the generated files somewhere?
- How do I dynamically handle endless nested routes with Nuxt 3?
- Localization of numbers and dates is not working in Nuxt3 + VueI18n
- Checking authorization when the page is reloaded
- Setting useSeoMeta from Async Data
- Vuefire Nuxt 3 SSR - useCurrentUser null on server-side
- how to get data from markdown file and send it to component using nuxt content
Related Questions in NUXT-STRAPI
- Using the NuxtJS Strapi Module in Vuex
- how to install custom fields if my strapi is hosted in digitalocean?
- strapi v4 in admin auth page cannot update helmet title
- Strapi get relational data
- Strapi Authentication Issue
- how to get data from a relation graphql strapi?
- Strapi as general backend framework to build social app?
- Unexpected token '.' syntax error while using @nuxtjs/strapi module in nuxt.js
- how to modify the $strapi.login({}) default route in nuxt(custom login)
- Nuxt3 useFetch only retrieving data occasionally
- 500 error on initial Nuxt3 load with Strapi call
- Strapi : An error occurred during models config fetch
- Why doesn't my nuxt static site serve the static html files found in the Dist folder?
- how can I show image of my blogs (in collection type) in Nuxt with Strapi cms?
- File '@strapi/typescript-utils/tsconfigs/server' not found. Error on installing strapi in linux
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
The
nuxt-strapimodule doesn't allow you to change the login URL. What I would do in your case is directly call the OTP API endpoint and set the token manually.see for more info https://strapi.nuxtjs.org/strapi