Skip to content

Logo missing from Default Signin Page #6727

@raulmarindev

Description

@raulmarindev

Environment

System:
OS: Windows 10 10.0.19045
CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Memory: 13.64 GB / 31.85 GB
Binaries:
Node: 18.14.0 - C:\Program Files\nodejs\node.EXE
npm: 9.3.1 - C:\Program Files\nodejs\npm.CMD
Browsers:
Chrome: 110.0.5481.77
Edge: Spartan (44.19041.1266.0), Chromium (110.0.1587.41)
Internet Explorer: 11.0.19041.1566
npmPackages:
next: ^13.0.0 => 13.1.6
react: ^18.2.0 => 18.2.0
next-auth: ^4.19.1 => 4.19.1

Reproduction URL

https://github.com/raulmarindev/default-signin-logo-missing

Describe the issue

A custom logo won't appear anymore in the default SignIn page. In next-auth@4.19.1 the logo was removed from the default SignIn page as can be seen in the image below (line 91 was removed).

image

How to reproduce

In a nextjs app go to pages\api\auth[...nextauth].ts] and add a logo property with an image url to the theme:

image

Start the web app and go to the SignIn page. The logo won't be rendered.

Expected behavior

The logo should be rendered.

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