{"library":"superagent-d2l-session-auth","type":"library","category":null,"description":"superagent-d2l-session-auth is a JavaScript plugin designed to integrate D2L (Brightspace) session authentication with `superagent` HTTP requests. It acts as a `superagent` middleware, automatically adding the necessary D2L authentication headers to outbound requests by leveraging the `frau-jwt` library internally. The current stable version is 2.0.1, which includes a fix for `trustedHost` casing sensitivity. While specific release cadence is not explicitly stated, the project appears to be actively maintained by Brightspace, with updates addressing functionality and compatibility. Its primary differentiator is its specialized function within the Brightspace ecosystem, providing a streamlined way to handle D2L session-based authentication for applications using `superagent`, particularly within iframed contexts.","language":"javascript","status":"active","version":"2.0.1","tags":["javascript","d2l","free-range","frau","superagent"],"last_verified":"Wed May 27","install":[{"cmd":"npm install superagent-d2l-session-auth","imports":["import auth from 'superagent-d2l-session-auth'","const auth = require('superagent-d2l-session-auth')()","const auth = require('superagent-d2l-session-auth/framed')()"]},{"cmd":"yarn add superagent-d2l-session-auth","imports":[]},{"cmd":"pnpm add superagent-d2l-session-auth","imports":[]}],"homepage":null,"github":"https://github.com/Brightspace/superagent-d2l-session-auth","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/superagent-d2l-session-auth","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/superagent-d2l-session-auth/compatibility"}}