Skip to content

Improved documentation for InstalledAppFlow with use of Loopback IP and 404 not found #1813

Open
@LindaLawton

Description

@LindaLawton

The documentation for Loopback IP address (macOS, Linux, Windows desktop) states that

To receive the authorization code using this URL, your application must be listening on the local web server.

However most of the samples for this library use.

flow = InstalledAppFlow.from_client_secrets_file(
                '/content/peopleapipublic-fc597768cf57.json', SCOPES)

When code using this method runs it will attempt to open a web browser window which returns a 404 not found as the samples do not describe how to listen on the local web server. so the code fails in most cases.

Please supply some documentation for use with installed applications that shows how to setup this local web server in order to no longer get a 404 error message when running applications.

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: p2Moderately-important priority. Fix may not be included in next release.type: docsImprovement to the documentation for an API.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions