feat: add guide for authenticating with a script#15
Merged
jeswr merged 2 commits intofeat/script-authenticationfrom Feb 18, 2026
Merged
feat: add guide for authenticating with a script#15jeswr merged 2 commits intofeat/script-authenticationfrom
jeswr merged 2 commits intofeat/script-authenticationfrom
Conversation
…tform instructions Co-authored-by: jeswr <63333554+jeswr@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add guide for authenticating Node.js scripts with Solid servers
feat: add guide for authenticating with a script
Feb 18, 2026
There was a problem hiding this comment.
Pull request overview
This PR enhances the Node.js script authentication guide by making all configuration fully environment-variable based and adding cross-platform setup instructions. Previously, the OIDC_ISSUER (Solid server URL) was hardcoded while other credentials were loaded from environment variables, creating an inconsistency. The update makes the guide more production-ready and accessible to developers on different operating systems.
Changes:
- Modified
OIDC_ISSUERto load fromprocess.env.SOLID_OIDC_ISSUERinstead of using a hardcoded value - Added cross-platform environment variable setup instructions with separate examples for Bash (Linux/macOS) and PowerShell (Windows)
- Enhanced documentation with clearer guidance on passing all three required environment variables when running the script
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a guide for authenticating Node.js scripts with Solid servers using Client Credentials — covering automated pipelines, bots, CI/CD, and server-to-server integrations where browser-based auth isn't available.
docs/guides/authenticating_with_a_script.md): Step-by-step walkthrough covering project setup, credential generation (UI and API), and authenticated requests using@inrupt/solid-client-authn-nodedocs/index.md): Added link to the new guideSOLID_CLIENT_ID,SOLID_CLIENT_SECRET, andSOLID_OIDC_ISSUERare all loaded from environment variables — no hardcoded server URLs that silently failRelated:
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.