Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

477
Views
¿Cómo acceder a getTokenSilently() auth0 en RTK Query?

Soy completamente nuevo en el uso de RTK Query, creé la aplicación antes pero sin la autenticación y todo funcionó, ahora quiero agregar la autenticación usando Auth0 pero no puedo acceder a ningún archivo. Agrego getTokenSilently() PD. getTokenSilently es el {token} gracias por la ayuda

 export const myApi = createApi({ reducerPath: "points", baseQuery: fetchBaseQuery({ baseUrl: "/", prepareHeaders: (headers, { getState }) => { const token = getState() if (token) { headers.Authorization = `Bearer ${token}` } return headers }, }), endpoints: builder => ({ getPoints: builder.query({ query: () => `/`, }), }), }) export const { useGetPointsQuery } = myApi

about 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!