Skip to content

Error handling not working properly when upgrading lib #117

@4integration

Description

@4integration

Hi,

I am testing passport-openidconnect with an example app based on this https://github.com/ForgeRock/exampleOAuth2Clients/tree/master/node-passport-openidconnect

Since it is a bit dated I have updated all libs. But when updating passport-openidconnect from 0.0.2 to 0.1.2 the error handling stops working.

I have a error case when client_id is missing in Audience and with ver 0.0.2 I get a proper error handling with error page showing
aud parameter does not include this client - is: urn:myorg:user-store:test-application| expected: my-test-client

When updating the lib to ver 0.1.2 (only that change) I get
Not Found 404, NotFoundError: Not Found i.e. cannot load the error page

Do you have any idea why it fails?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions