Skip to content

Feature/delegated OIDC auth#68

Merged
mjkatgithub merged 4 commits intodevelopfrom
feature/delegated-oidc-auth
May 8, 2026
Merged

Feature/delegated OIDC auth#68
mjkatgithub merged 4 commits intodevelopfrom
feature/delegated-oidc-auth

Conversation

@mjkatgithub
Copy link
Copy Markdown
Owner

No description provided.

- 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.
@mjkatgithub mjkatgithub merged commit d37c10b into develop May 8, 2026
5 checks passed
@github-project-automation github-project-automation Bot moved this from Backlog to Done in Decentra May 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant