Skip to content

fix(auth0-auth-js): add barcode URI and recovery codes to OOB enrollment response#147

Merged
gyaneshgouraw-okta merged 3 commits intomainfrom
fix/barcode_uri
Mar 6, 2026
Merged

fix(auth0-auth-js): add barcode URI and recovery codes to OOB enrollment response#147
gyaneshgouraw-okta merged 3 commits intomainfrom
fix/barcode_uri

Conversation

@gyaneshgouraw-okta
Copy link
Copy Markdown
Contributor

Summary

Fix OOB enrollment response types to include barcodeUri and recoveryCodes, aligning them with the existing OTP enrollment response.

Changes

  • Add optional barcodeUri and recoveryCodes to the OOB enrollment response types (both public and internal API interfaces)
  • Map barcode_uri and recovery_codes in the OOB branch of transformEnrollmentResponse
  • Add mock handler and test case for the auth0 (Guardian) OOB channel enrollment

Test plan

  • Added new auth0 (Guardian) enrollment test passes with barcodeUri present
  • Manually tested the changes made via an example app

@gyaneshgouraw-okta gyaneshgouraw-okta changed the title feat: add barcode URI and recovery codes to OOB enrollment response fix: add barcode URI and recovery codes to OOB enrollment response Mar 5, 2026
@gyaneshgouraw-okta gyaneshgouraw-okta changed the title fix: add barcode URI and recovery codes to OOB enrollment response fix(auth0-auth-js): add barcode URI and recovery codes to OOB enrollment response Mar 5, 2026
@gyaneshgouraw-okta gyaneshgouraw-okta merged commit fd5d20b into main Mar 6, 2026
4 checks passed
@gyaneshgouraw-okta gyaneshgouraw-okta deleted the fix/barcode_uri branch March 6, 2026 07:45
gyaneshgouraw-okta added a commit to auth0/auth0-spa-js that referenced this pull request Mar 10, 2026
## Summary

Bump the `@auth0/auth0-auth-js` dependency from `^1.4.0` to `^1.5.0` to
pull in the latest features and fixes from the core auth library.

Conatins fixes related barcode_uri param for MFA API to
auth0/auth0-auth-js#147



## Testing

- Verified `npm install` resolves `@auth0/auth0-auth-js@1.5.0`
successfully
- Run the existing test suite to confirm no regressions
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