Skip to content

Updated URL AND API FOR CERTIFICATE ADDITION#158

Merged
pandey019 merged 1 commit into
wootzapp:mainfrom
Aaditesh2307:Enterprise_Updated_Url
Oct 30, 2025
Merged

Updated URL AND API FOR CERTIFICATE ADDITION#158
pandey019 merged 1 commit into
wootzapp:mainfrom
Aaditesh2307:Enterprise_Updated_Url

Conversation

@Aaditesh2307
Copy link
Copy Markdown
Contributor

feat(mTLS): Client Certificate Handling in Extension + Popup Redirect Update

This PR introduces mutual TLS (mTLS) client-certificate handling inside the extension and updates the popup redirect URL.


Summary

  • New: Detect and forward client certificate payloads from the web page → content script → background script.
  • New: Background script validates and attempts delivery of the certificate to the browser via a custom Chrome API: chrome.wootz.mtlsCert.
  • Update: popup.html redirect changed from http://eb.wootzapp.com/okta to http://trust.wootzapp.com/okta.

Changes

1) mTLS Certificate Handling

content.js

  • Listens for the custom DOM event: okta-integrator-cert.
  • Extracts event detail (certificate payload and optional metadata).
  • Sends the payload to the background script via chrome.runtime.sendMessage.
  • Adds defensive checks and console diagnostics for malformed events.

background.js

  • Receives type: 'mtlsCert' messages from content.
  • Validates presence/shape of certificate fields (e.g., PEM/DER, chain, fingerprint).
  • Logs structured details (redacting sensitive material).
  • Calls chrome.wootz.mtlsCert.send(...) (custom API) to forward the certificate to the browser for mTLS flows.
  • Handles success/failure paths with detailed error logging and user-actionable hints.

2) Popup Redirect

popup.html

  • Redirect target updated:
    • Old: http://eb.wootzapp.com/okta
    • New: http://trust.wootzapp.com/okta

@pandey019 pandey019 merged commit c6a8856 into wootzapp:main Oct 30, 2025
1 check passed
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 30, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants