-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: destructure profile of lookUpByAuthCode is undefined #685
Comments
Are you running with If not, could you provide the mockpass version and which profile is being used to trigger this crash? |
I am using default configuration, so I presume the below (some referenced from readme): Mockpass version: @opengovsg/[email protected] |
Describe the bug
TypeError: Cannot destructure property 'profile' of 'lookUpByAuthCode(...)' as it is undefined.
at C:<truncated>\node_modules@opengovsg\mockpass\lib\express\oidc\v2-ndi.js:437:17
Node.js v22.8.0
[nodemon] app crashed - waiting for file changes before starting...
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Response from token endpoint, if the profile is defined properly.
Screenshots
The text was updated successfully, but these errors were encountered: