Feature/delegated OIDC auth#68
Merged
mjkatgithub merged 4 commits intodevelopfrom May 8, 2026
Merged
Conversation
- Introduced a new `matrixOidcNative.ts` file for handling native Matrix delegated authentication using OIDC, including constants and utility functions for managing OIDC states and errors. - Implemented unit tests for the `isPublicRegisterEndpointDisabled` function to ensure proper handling of registration endpoint responses. - Updated the project structure to include new files and components for OIDC integration, enhancing the overall authentication experience.
Support delegated Matrix OIDC via OAuth for signup and login. Add config options in nuxt.config.ts for OIDC settings. Update UI to reflect OIDC availability and show errors. Guide users when homeservers block direct registration. Extend i18n with OIDC messages in English and German. Improve signup error handling for blocked registrations. Add unit tests for OIDC flows and error cases.
…ror handling - Update README.md to clarify the delegation of new-account creation to Matrix Authentication Services (OAuth/OIDC). - Modify `useAppI18n` to improve translations related to signup errors and user guidance for homeservers blocking direct registration. - Refactor `useMatrixClient` to streamline error handling for transport failures and enhance verification processes. - Introduce new utility functions for managing incoming verification requests from other devices. - Update UI components in `login.vue` and `signup.vue` to reflect changes in the signup flow and improve user feedback. - Enhance unit tests for error handling and verification processes, ensuring robust coverage for new functionalities.
- Implemented delegated OIDC sign-up (MSC2965 / MAS) including OpenID discovery, PKCE, dynamic client registration, and token exchange. - Added support for the `/auth/matrix-oidc/callback` endpoint and integrated Matrix JS SDK session management. - Introduced a sign-up entry point for delegated browser OAuth with runtime configuration for `nuxt.public.siteUrl` and `matrixOidcClientId`. - Enhanced internationalization (i18n) for callback and error paths in English and German. - Updated README with notes on HTTPS redirect requirements for matrix.org. - Documented changes in the CHANGELOG to reflect these enhancements.
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.
No description provided.