Hsiaoming Yang
Hsiaoming Yang
Are you using this demo without any change? I've just verified, this demo works fine.
@codeyu Hi, you are invited into CN group.
@fahchen 不是这个,是 `.get(code)` 这样的 method 的返回值问题。
@kesara You need to add documentation for nonce.
@fdanielsen You can leave a helper function here right now. In case anyone seeks the same problem.
It would be great if validators are less related with fields. In this case, validators can be reused in many other places out of form validators. It would be good...
@rushilsrivastava from my understanding, you don't need to parse_id_token manually. https://github.com/lepture/authlib/blob/b8f7cc7b709a5222591ee7d56954b6e893696fa4/authlib/integrations/starlette_client/apps.py#L65-L70 There will be a `userinfo` in the token when `authorize_access_token`
I've just updated the demo about google.
https://developers.google.com/identity/protocols/oauth2/web-server#httprest Please check this commit: https://github.com/authlib/demo-oauth-client/commit/e9c8aa1c9d05da32c8ca0a740b6475c78b53e6c6
Because this demo has no database.