Skip to content

Authentication window does not close on callback #3

@ArcaneTSGK

Description

@ArcaneTSGK

I am trying to implement GitHub OAuth flow as detailed in your blog, except that I am using Gatsby as my static site generator.

Issue
The serverless endpoints are working with 'serverless offline' on localhost, but in a production environment the auth window popup does not close on callback.

The github:success token can be seen when you view the source of the callback in the popup.

Expected Behaviour
Auth window closes and I am logged in to the netlify-cms GitHub backend

netlify-cms version: 1.9.3

I took a look at your config.yml and the only difference is your base_url: is your home page whereas mine is the lambda endpoint https://[].execute-api.us-east-1.amazon.aws/prod

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions