Skip to content

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

@S-Luiten

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

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions