Skip to content

bug: Onboarding/setup issue #4228

Description

@ionitron-bot

Original issue by @samora on 2019-11-24T15:40:27Z

Bug Report

Ionic version:

[x] 5.4.8

Current behavior:
I'm setting up a project for the first time and getting an error when I run ionic link in the terminal.

At the GitHub linking step I get this error when the browser is opened.

URL bar:

https://api.ionicjs.com/?error=redirect_uri_invalid&error_description=The+redirect_uri+MUST+be+a+valid+URL&error_uri=https%3A%2F%2Fdeveloper.github.com%2Fapps%2Fbuilding-oauth-apps%2Fauthorization-options-for-oauth-apps%2F%23redirect-urls&state=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1NzQ2MDk0MjYsInVzZXJfaWQiOjIyMjQ1NjJ9.XBmfE4jMj9Yu4WlLHtqhJFeUhDzzvmz8rBI1w8W5muI

Body:

{"error": {"link": null, "message": "404 Not Found: The requested URL was not found on the server.  If you entered the URL manually please check your spelling and try again.", "type": "NotFound"}, "meta": {"status": 404, "request_id": null, "version": "2.0.0-sdlc-beta.0"}}

Expected behavior:
I should be able to see the GitHub login/authentication page.

Steps to reproduce:
New project. After ionic start ..., then ionic link.

Related code:

ionic start newApp
ionic link

Other information:

Ionic info:

Ionic:

   Ionic CLI       : 5.4.8 (/Users/samoradake/.nvm/versions/node/v12.13.0/lib/node_modules/ionic)
   Ionic Framework : @ionic/react 4.11.5

Utility:

   cordova-res : not installed
   native-run  : not installed

System:

   NodeJS : v12.13.0 (/Users/samoradake/.nvm/versions/node/v12.13.0/bin/node)
   npm    : 6.12.0
   OS     : macOS Catalina

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions