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

367
Views
¿Por qué Twitch OAuth redirige a un enlace con cadenas de consulta separadas por '#'?

Estoy creando un inicio de sesión de usuario con OAuth. Todo parece funcionar bien, pero el URI de redirección de Twitch está desordenado por el # ¿dónde? tiene que ser.

Mi URI de redireccionamiento:

 https://localhost:7681/authorize

URI Twitch redirige a:

 https://localhost:7681/authorize#access_token=43r99nhmxhvpckr4zrtb0sbx1q6tdg&scope=user%3Aread%3Aemail&state=%24%7Bdata.uid%7D&token_type=bearer

Ya intenté agregar una barra diagonal final, nada cambió.

¿Alguien más se encontró con tal comportamiento?

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

solicitó un token para el tipo de token en lugar de un token de tipo de código

token, también conocido como autenticación implícita, es para aplicaciones del lado del cliente y generará y devolverá un token de acceso a través del hash de ubicación

https://dev.twitch.tv/docs/authentication/getting-tokens-oauth#implicit-grant-flow

El oAuth "normal", también conocido como "Concesión de código de autorización", devolverá un código que se intercambiará por un token de acceso.

https://dev.twitch.tv/docs/authentication/getting-tokens-oauth#authorization-code-grant-flow

Esencialmente, su <a href desencadenó el flujo de token incorrecto

Además, nunca debe publicar tokens de acceso generados públicamente. Ya que alguien puede tomarlo y abusar de él o simplemente revocarlo. O en este caso adquirir su dirección de correo electrónico privada.

https://discuss.dev.twitch.tv/t/why-is-twitch-oauth-redirecting-to-a-link-with-query-strings-separated-by/37976/2

over 4 years ago · Santiago Trujillo Report
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!