question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't click login button after being logged out.

See original GitHub issue

Describe the bug

After being logged out of the CMS, there seems to be a lot of z-index issues with the login flow. I can’t click the Login with Netlify Identity button at all.

To Reproduce

  1. Log out of your admin, or clear your application cache so you are forced to login with Netlify Identity again.
  2. Navigate to your admin dashboard to get to the login flow.
  3. Try clicking the Login with Netlify Identity button

Expected behavior

Clicking the Login with Netlify Identity button should prompt an email and password modal to pop up over the button

Screenshots

Feb-20-2020 09-44-02

Applicable Versions:

  • Netlify CMS version: 2.11.11
  • Git provider: GitHub
  • OS: MacOS 10.14.6
  • Browser version Chrome 79

CMS configuration

CMS.init({
  config: {
    backend: {
      name: 'git-gateway',
      repo: 'https://github.com/mixmaxhq/mixmax-website',
      branch: process.env.NETLIFY_BRANCH || 'master',
      use_large_media_transforms_in_media_library: true,
    },
    load_config_file: false,
    display_url: 'https://mixmax.com',
    media_folder: 'static/assets',
    public_folder: '/assets',
    publish_mode: 'editorial_workflow',
    show_preview_links: true,
    collections: [
      primary,
      feature,
      integrations,
      useCases,
      blog,
      hub,
      legal,
      landingPages,
    ],
  },
});

Additional context

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
bobbymart1ncommented, Feb 21, 2020

Closing this issue. Adding enableIdentityWidget: false, to gatsby-plugin-netlify-cms options in gatsby-config.js solved the problem. I’m now running into another issue where adding that property breaks page previews in the CMS.

Edit: From further investigations gatsby-plugin-netlify-cms overrides the regular Netlify CMS login flow with iframes that seem to have additional functionality like Forgot password. Turns out the issue we were having is that we were manually initing the CMS, and for some reason, the load_config_file: false property and value is causing the iframes to override the Login with Netlify Identity button. Commenting that line in the init fixed the issue.

We are still investigating further, and I’ll update more soon.

0reactions
tomrutgerscommented, Feb 20, 2020

This is actually a separate issue I’ve been having. If you use /admin/ it should direct properly

You can read up on that discussion here: #332

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot Click nor Type Anything on Log-in Screen
When I press the physical power button it just sort of sleeps rather than shut down so I cannot get any further than...
Read more >
Can't click Sign in button on google accounts
Hi there, today i was going to log in to my gmail account when i noticed the page would not allow me to...
Read more >
Can't get past login screen. Login button is always faded and ...
No matter what, when I try to login, the login button is faded and unable to be clicked on. I've tried on Firefox,...
Read more >
Login problem (Button 'login' not responding) - WordPress.org
I cannot access my admins area. when I click the “Log-in” button nothing happens… the button doesn't respond to my request to login....
Read more >
Sign in button grey? - Auth0 Community
... when i open my website with nodemon, both the log in and log out button are gray, and i can't click them...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found