Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vue3 use matrix-js-sdk ,build error , #4499

Closed
RosyClousXun opened this issue Nov 6, 2024 · 4 comments
Closed

vue3 use matrix-js-sdk ,build error , #4499

RosyClousXun opened this issue Nov 6, 2024 · 4 comments

Comments

@RosyClousXun
Copy link

image

@RosyClousXun RosyClousXun changed the title import matrix-js-sdk ,but when build program vue3 use matrix-js-sdk ,build error , Nov 6, 2024
@richvdh
Copy link
Member

richvdh commented Nov 6, 2024

Please paste error messages, not screenshots.

We can't provide development support via this issue tracker. If you believe there is a defect in matrix-js-sdk, please provide clear reproduction steps.

@richvdh richvdh closed this as completed Nov 6, 2024
@RosyClousXun
Copy link
Author

RosyClousXun commented Nov 7, 2024 via email

@RosyClousXun
Copy link
Author

RosyClousXun commented Nov 7, 2024 via email

@bartengine27
Copy link

bartengine27 commented Nov 29, 2024

HI,

Is this related:

Type '"device_authorization_endpoint"' is not assignable to type 'keyof OidcMetadata'. Did you mean '"authorization_endpoint"'?

fixed it in node_modules/matrix-js-sdk/lib/oidc/validate.d.ts with:

`
//export type ValidatedIssuerMetadata = Partial & Pick<OidcMetadata, "issuer" | "authorization_endpoint" | "token_endpoint" | "registration_endpoint" | "revocation_endpoint" | "response_types_supported" | "grant_types_supported" | "code_challenge_methods_supported" | "device_authorization_endpoint"> & {

export type ValidatedIssuerMetadata = Partial & Pick<OidcMetadata, "issuer" | "authorization_endpoint" | "token_endpoint" | "registration_endpoint" | "revocation_endpoint" | "response_types_supported" | "grant_types_supported" | "code_challenge_methods_supported" | "authorization_endpoint"> & {
`

Is that correct?

Thanks,
Bart

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

No branches or pull requests

3 participants