Skip to content

Unexpected signature of BackOfficeAuthenticationBuilder.SchemeForBackOffice #21689

@PeterKvayt

Description

@PeterKvayt

Which Umbraco version are you using?

17.1.0

Bug summary

The SchemeForBackOffice has the following implementation:

public static string? SchemeForBackOffice(string scheme)
        => scheme?.EnsureStartsWith(Constants.Security.BackOfficeExternalAuthenticationTypePrefix);

This implementation makes the result always nullable. It is not convenient.

Specifics

No response

Steps to reproduce

Image

Expected result / actual result

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions