Skip to content
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

Updated configuration to resolve errors that occur when the access token is manually passed in #31

Merged
1 commit merged into from
Mar 5, 2024

Conversation

ghost
Copy link

@ghost ghost commented Mar 5, 2024

The below errors occur due to the access token being provided, and the clientID and Secret being left blank, but the constructor setup code still runs

TypeError: Cannot read properties of undefined (reading 'name')
    at FormData._getContentDisposition (C:\Users\Luke\Documents\GitHub\electron-identitynow-starter\node_modules\form-data\lib\form_data.js:227:40)
    at FormData._multiPartHeader (C:\Users\Luke\Documents\GitHub\electron-identitynow-starter\node_modules\form-data\lib\form_data.js:178:33)
    at FormData.append (C:\Users\Luke\Documents\GitHub\electron-identitynow-starter\node_modules\form-data\lib\form_data.js:71:21)
    at new Configuration (C:\Users\Luke\Documents\GitHub\electron-identitynow-starter\node_modules\sailpoint-api-client\dist\configuration.js:85:18)
    at Module.createConfiguration (C:\Users\Luke\Documents\GitHub\electron-identitynow-starter\src\lib\sailpoint\sdk.ts:4:20)
    at load (C:\Users\Luke\Documents\GitHub\electron-identitynow-starter\src\routes\home\form-integration\+page.server.ts:10:17)
    at Module.load_server_data (C:\Users\Luke\Documents\GitHub\electron-identitynow-starter\node_modules\@sveltejs\kit\src\runtime\server\page\load_data.js:61:41)
    at C:\Users\Luke\Documents\GitHub\electron-identitynow-starter\node_modules\@sveltejs\kit\src\runtime\server\page\index.js:140:19
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

@ghost ghost merged commit 68972d3 into main Mar 5, 2024
4 checks passed
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants