Skip to content

Conversation

@TriggerAu
Copy link
Contributor

This changes the code and its mustache template to add the key to the Authorization header that is sent to the API

Fixes Issue #91

This changes the code and its mustache template to add the key to the Authorization header that is sent to the API
This adjustment prevents an issue theoriginal code had when using a ClientId
@aniket-okta
Copy link
Contributor

Hi @TriggerAu

Thank you so much for identifying this critical bug and proposing the fix! Your analysis in #91 was spot-on - the $headers variable was indeed created but never merged into $HeaderParameters.

I've incorporated your solution into #94 which includes:

  • Your fix for the Authorization header (you're credited as co-author on the commit)
  • Updated the mustache template so the fix persists after SDK regeneration
  • Integration test coverage to prevent regression
  • Updated documentation

PR #94 has been merged and will close issues #91 , #86 , and #52 .

Since #94 provides a more comprehensive solution with the same core fix you proposed, I'm closing this PR to avoid duplication. Your contribution is greatly appreciated!

See: #94

@aniket-okta aniket-okta closed this Nov 4, 2025
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