Hsiaoming Yang

Results 274 comments of Hsiaoming Yang

per https://datatracker.ietf.org/doc/html/rfc6749#section-5.2 ``` invalid_grant The provided authorization grant (e.g., authorization code, resource owner credentials) or refresh token is invalid, expired, revoked, does not match the redirection URI used in the...

Oh, I got it. The authorization code request usually shows a "HTML" page instead of a JSON result, and this part is not documented in RFC 6749. Developers should implement...

This is not a bug, it is a feature request. We can add a default mount point config in `ConfigProvider`. Currently, by default, everything will be mounted to `document.body`.

@AstraLuma `joserfc` has full implementation of key generation: https://jose.authlib.org/en/guide/jwk/#generate-keys

@lemon24 Please review https://github.com/lepture/mistune/pull/425

This is not an issue. The AST result is correct, and `MarkdownRenderer` will re-format the output markdown.

`joserfc` implemented the key length check at `import_key` step: 1. https://github.com/authlib/joserfc/blob/main/src/joserfc/_rfc7518/oct_key.py#L90-L92 2. https://github.com/authlib/joserfc/blob/main/src/joserfc/_rfc7518/rsa_key.py#L169-L171

It is a design issue. When you use a custom renderer, you don't need to pass the `escape` parameter. The `escape` parameter is used only when `renderer` is `"html"`, which...

I can not understand the issue. Can you provide a demo to reproduce the issue? Like this: ```python import mistune text = 'your input text' result = mistune.html(text) ``` The...