Skip to content

[Bug]: Cannot authenticate. 404 #134

@useffc

Description

@useffc

What happened?

I want the extension to log in to RapidAPI on my behalf and sync my projects. When I choose to sign in, I'm greeted with a page that says Oauth authorization error.

In VS Code, the process eventually times out.

The inspector shows failed requests to https://rapidapi.com/authentication/oauth/authorize.

Another failed request below:

https://rapidapi.com/auth?client_id={client_id}&code_challenge={challenge}&redirect_uri=cursor://rapidapi.vscode-services&client_id={client_id}&code_challenge={challenge}&redirect_uri=cursor://rapidapi.vscode-services 404 (Not Found)

Steps to reproduce?

Install both the RapidAPI client extension and the RapidAPI Services extension.

Attempt to sign in with the RapidAPI client extension.

VS Code version

1.96.2

Extension version

1.10.2

Relevant log output

client:

["ERROR" - 2025-02-12T19:22:45.833Z - v1.10.2] 
  No requests found
["ERROR" - 2025-02-12T19:22:45.834Z - v1.10.2] 
  No requests found
["INFO" - 2025-02-12T19:22:46.647Z - v1.10.2] 
  [request-updates]: no data provided
["INFO" - 2025-02-12T19:22:47.950Z - v1.10.2] 
  Open project selection...

services:
["INFO" - 2025-02-12T19:24:14.454Z - v1.0.2]
  authenticate command called
["INFO" - 2025-02-12T19:25:18.971Z - v1.0.2]
  RapidAPI Auth: Sign in cancelled due timeout.
["ERROR" - 2025-02-12T19:25:18.974Z - v1.0.2]
  Sign in failed: Cancelled

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions