Skip to content

NullReferenceException when openID configuration does not contain authorization and/or token endpoints. #604

Description

@S-Luiten

Describe the bug
When using an OAuth authorization server which does not include an authorization endpoint in its .well-known/openid-configuration (for example github), a NullReferenceException is thrown in BuildAuthorizationUrl by trying to access authServerMetadata.AuthorizationEndpoint.Scheme.

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